diff options
author | David Brownell <david-b@pacbell.net> | 2005-04-28 13:48:09 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-06-27 14:43:50 -0700 |
commit | 907cba35f7f24587f0eff60073e1f4e1e01c976d (patch) | |
tree | 1a26929d319d3c5677529a9ca5483f9129fc6445 /include | |
parent | 340600ab4cf0cc41efd01a65af97ebb7d35a7f85 (diff) | |
download | blackbird-op-linux-907cba35f7f24587f0eff60073e1f4e1e01c976d.tar.gz blackbird-op-linux-907cba35f7f24587f0eff60073e1f4e1e01c976d.zip |
[PATCH] USB: ethernet gadget updates (mostly cleanup)
Some cleanup for the the Ethernet part of the Ethernet/RNDIS gadget driver:
- Remove remnants of ancient endpoint init logic; this is simpler, clearer
- Save a smidgeon of space in the object file
- Get rid of some #ifdeffery, mostly by using some newish inlines
- Reset more driver state as part of USB reset
- Remove a needless wrapper around an RNDIS call
- Improve and comment the status interrupt handling:
* RNDIS sometimes needs to queue these transfers (rarely in normal
cases, but reproducibly while Windows was deadlocking its USB stack)
* Mark requests as busy/not
- Enable the SET_NETDEV_DEV() call; sysfs seems to behave sanely now
This is a net shrink of source code.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'include')
0 files changed, 0 insertions, 0 deletions