diff options
author | Vitaly Kuzmichev <vkuzmichev@mvista.com> | 2011-02-11 18:18:34 +0300 |
---|---|---|
committer | Remy Bohmer <linux@bohmer.net> | 2011-02-19 20:32:37 +0100 |
commit | 7612a43d0803ebd70071894658291300d4acc615 (patch) | |
tree | 8bf94b96bddb0b5df8818b3e5ba68f265472624e /include/linux | |
parent | 8b6b66b427209b5b117487bfefba90e1587c2d5d (diff) | |
download | u-boot-imx-7612a43d0803ebd70071894658291300d4acc615.zip u-boot-imx-7612a43d0803ebd70071894658291300d4acc615.tar.gz u-boot-imx-7612a43d0803ebd70071894658291300d4acc615.tar.bz2 |
USB: Add USB RNDIS gadget protocol
Port USB gadget RNDIS protocol support from linux-2.6.26
(.27 gadget stack actually has composite drivers).
Signed-off-by: Vitaly Kuzmichev <vkuzmichev@mvista.com>
Diffstat (limited to 'include/linux')
-rw-r--r-- | include/linux/usb/cdc.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/include/linux/usb/cdc.h b/include/linux/usb/cdc.h index 2967284..c1d039c 100644 --- a/include/linux/usb/cdc.h +++ b/include/linux/usb/cdc.h @@ -158,6 +158,9 @@ struct usb_cdc_mdlm_detail_desc { * * section 3.6.2.1 table 4 has the ACM profile, for modems. * section 3.8.2 table 10 has the ethernet profile. + * + * Microsoft's RNDIS stack for Ethernet is a vendor-specific CDC ACM variant, + * heavily dependent on the encapsulated (proprietary) command mechanism. */ #define USB_CDC_SEND_ENCAPSULATED_COMMAND 0x00 @@ -203,7 +206,8 @@ struct usb_cdc_line_coding { * Class-Specific Notifications (6.3) sent by interrupt transfers * * section 3.8.2 table 11 of the CDC spec lists Ethernet notifications - * section 3.6.2.1 table 5 specifies ACM notifications + * section 3.6.2.1 table 5 specifies ACM notifications, accepted by RNDIS + * RNDIS also defines its own bit-incompatible notifications */ #define USB_CDC_NOTIFY_NETWORK_CONNECTION 0x00 |