Russell King writes: > A while ago, I looked at what was required to convert the OHCI driver > to pci_alloc_consistent, and it turns out that the current interface is > highly sub-optimal. It looks good on the face of it, but it _really_ > does need sub-page allocations to make sense for USB. > > At the time, I didn't feel like creating a custom sub-allocator just > for USB, and since then I haven't had the inclination nor motivation > to go back to trying to get my USB mouse or iPAQ communicating via USB. > (I've not used this USB port for 3 years anyway). Gerard Roudier wrote for the sym53c8xx driver the exact thing UHCI/OHCI need for this. I think people are pissing their pants over the pci_alloc_consistent interface for no reason. It gives PAGE<<order sized/aligned chunks back to the caller at the request of Linus so that drivers did not have to guess "is this 16-byte aligned..." etc. Later, David S. Miller [EMAIL PROTECTED] _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: http://lists.sourceforge.net/lists/listinfo/linux-usb-devel
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci ... Manfred Spraul
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... Russell King
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... Alan Cox
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David S. Miller
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... Peter Zaitcev
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David Brownell
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Brad Parker
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... David Brownell
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Steve Longerbeam
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... Manfred Spraul
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... David Brownell
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Johannes Erdfelt
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx... David Brownell