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

Remy Bohmer linux at bohmer.net
Sat Feb 12 09:43:15 CET 2011


Hi,

2011/2/11 Vitaly Kuzmichev <vkuzmichev at mvista.com>:
> 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

First impression: Looks good!
I will look into the details later... I will come back on it in a
couple of days. (it is quite huge ;-) )

Kind regards,

Remy


More information about the U-Boot mailing list