]> git.hungrycats.org Git - linux/commit
[PATCH] USB gadget: net2280 controller updates
authorDavid Brownell <david-b@pacbell.net>
Fri, 23 Jan 2004 07:38:26 +0000 (23:38 -0800)
committerGreg Kroah-Hartman <greg@kroah.com>
Fri, 23 Jan 2004 07:38:26 +0000 (23:38 -0800)
commit6b41272dd80d8ec8dc8e2a0b56593956a3bc1a6b
treee0e413cec8d7f7a4f6700d703e699f0416f99951
parent75c732d968a1d823fc8fc9376368d6ce48753af3
[PATCH] USB gadget: net2280 controller updates

A variety of fixes:

    - Resolves some problems with DMA chaining.  It should stream
      a lot better now; but not all the funky cases are handled yet.

    - Now "use_dma_chaining" is a module parameter not a #define.
      It also defaults to false.  Some gadget drivers will work fine
      with this enabled, getting some IRQ reduction and increased
      I/O parallelism (given deep I/O queues); others won't.

    - Handle isochronous transfers (from Mark Huang at Broadcom)

    - Some of the chiprev 0100 workarounds weren't quite right.
      Neither were buffer allocations on dma-incoherent systems.

    - Handle bulk endpoint halts better, for file_storage gadget driver.

    - Handle the hardware device status bits better:
        * selfpowered by default, clearable with the API;
        * remote wakeup disabled by default, host must enable it.

    - Fix a shutdown problem seen in some statically linked configs.

Needed to use the new file_storage gadget without disabling DMA.
drivers/usb/gadget/net2280.c
drivers/usb/gadget/net2280.h