Messages in this thread | | | Date | Tue, 20 Dec 2011 01:40:24 -0800 | Subject | Re: [PATCH V1 Resend 0/3] dmaengine: Allow controller drivers to set channel ids | From | "Williams, Dan J" <> |
| |
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
| |