[U-Boot] [PATCH 0/5] USB RNDIS gadget support

Vitaly Kuzmichev vkuzmichev at mvista.com
Fri Feb 11 16:18:30 CET 2011


The patch series integrates RNDIS protocol support
into the current U-Boot USB gadget stack to talk with Windows host.

Synced with linux-2.6.26 version (latest one that has simple,
non-composite gadget architecture), therefore I've kept checkpatch
warnings about typedefs and >80 character lines, but I'm glad
to discuss necessity and ways to fix them.

Actually this protocol should not require to make any changes in
existing USB device controller drivers.

And sorry for the huge RNDIS patch.

Vitaly Kuzmichev (5):
  USB-CDC: handle interrupts after dropped pullup
  USB-CDC: Port struct net_device_stats
  USB-CDC: Move struct declaration before its use
  USB: Add USB RNDIS gadget protocol
  USB-RNDIS: Send RNDIS state on disconnecting

 drivers/usb/gadget/Makefile |    1 +
 drivers/usb/gadget/ether.c  |  777 ++++++++++++++++++++++---
 drivers/usb/gadget/ndis.h   |  217 +++++++
 drivers/usb/gadget/rndis.c  | 1317 +++++++++++++++++++++++++++++++++++++++++++
 drivers/usb/gadget/rndis.h  |  260 +++++++++
 include/linux/netdevice.h   |   65 +++
 include/linux/usb/cdc.h     |    6 +-
 7 files changed, 2550 insertions(+), 93 deletions(-)
 create mode 100644 drivers/usb/gadget/ndis.h
 create mode 100644 drivers/usb/gadget/rndis.c
 create mode 100644 drivers/usb/gadget/rndis.h
 create mode 100644 include/linux/netdevice.h

-- 
1.7.3.4



More information about the U-Boot mailing list