lkml.org 
[lkml]   [2011]   [Dec]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
SubjectRe: [PATCH V1 Resend 0/3] dmaengine: Allow controller drivers to set channel ids
From
On Sun, Dec 18, 2011 at 8:30 PM, Viresh Kumar <viresh.kumar@st.com> wrote:
> Hi Dan,
>
> Probably you missed this patchset earlier, so resending it again.
>
> Currently value of chan_id field is updated by dmaengine.c while the dma device
> is registered. In some cases the controller driver may need to assign channel
> numbers by itself. This patchset introduces changes to do it.

Didn't we already go through this discussion once?

Here is the old thread: http://marc.info/?t=131122111000001&r=2&w=2
The chan_id is really only a sysfs detail, and for the same reasons
that scsi_host adapters don't pick their own host number neither
should dma channels.

The driver can set a channel id in its private channel struct right?

--
Dan


\
 
 \ /
  Last update: 2011-12-20 10:43    [from the cache]
©2003-2011 Jasper Spaans