Re: [linux-usb-devel] Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]

From: Alan Cox (alan@lxorguk.ukuu.org.uk)
Date: Fri Mar 09 2001 - 13:35:48 EST

  • Next message: David Brownell: "Re: SLAB vs. pci_alloc_xxx in usb-uhci patch [RFC: API]"

    > 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/



    This archive was generated by hypermail 2b29 : Fri Mar 09 2001 - 13:47:03 EST