On Fri, Mar 09, 2001, David S. Miller <[EMAIL PROTECTED]> wrote: > Manfred Spraul writes: > > Do lots of drivers need the reverse mapping? It wasn't on my todo list > > yet. > > I am against any API which provides this. It can be extremely > expensive to do this on some architectures, and since the rest > of the PCI dma API does not provide such an interface neither > should the pool routines. The API I hacked together for uhci.c didn't have this. > Drivers can keep track of this kind of information themselves, > and that is what I tell every driver author to do who complains > of a lack of a "bus_to_virt()" type thing, it's just lazy > programming. Once I worked around not having a "bus_to_virt()" type thing I was happier with the resulting code. I completely agree. JE _______________________________________________ [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 ... 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 usb-... David S. Miller
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Johannes Erdfelt
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Alan Cox
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... David S. Miller
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Steve Longerbeam
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... Pete Zaitcev
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... David S. Miller
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David Brownell
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... G�rard Roudier
- Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in ... Alan Cox
- [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-... David Brownell
