]> git.hungrycats.org Git - linux/commit
[PATCH] USB: minor net2280 cleanup
authorDavid Brownell <david-b@pacbell.net>
Thu, 9 Oct 2003 03:26:58 +0000 (20:26 -0700)
committerPaul Mackerras <paulus@samba.org>
Thu, 9 Oct 2003 03:26:58 +0000 (20:26 -0700)
commitadf7d73fd5c052daa75574b587c2705121353e40
tree2201966cdc9a25277f7874da1fcda6747dcca6a2
parentd0a2fba87445ab7cb06fa314fef0f225d49443c5
[PATCH] USB: minor net2280 cleanup

This holds minor net2280 cleanups:

  - Cleaner handling for cases where dma_alloc_coherent() must be
    used instead of kmalloc().  (Kmalloc is more memory-efficient
    for the "small buffers" case.)   Both MIPS cases should work,
    as well as others.

  - Prefetch cachelines on PIO paths.

The first of those gets rid of one <linux/version.h> usage, no
longer useful now that 2.4 and 2.6 versions have forked.
drivers/usb/gadget/net2280.c