Messages in this thread | | | Subject | Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API] | Date | Fri, 9 Mar 2001 18:35:48 +0000 (GMT) | From | Alan Cox <> |
| |
> 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.
I'd agree. There are _good_ reasons for having reverse mappings especially on certain architectures, but thats for stuff like cache management. Its stuff the drivers have no business poking their noses directly into
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |