diff options
author | David Lechner <david@lechnology.com> | 2017-07-30 03:12:57 +0200 |
---|---|---|
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | 2017-08-15 13:18:56 +0200 |
commit | 73517cf49bd449122b615d2b7a6bb835f02252e5 (patch) | |
tree | a0bf600345659bbe2de496690e3411430ca77757 /Documentation/ABI/testing | |
parent | usb: phy-tahvo: constify attribute_group structures. (diff) | |
download | linux-73517cf49bd449122b615d2b7a6bb835f02252e5.tar.xz linux-73517cf49bd449122b615d2b7a6bb835f02252e5.zip |
usb: gadget: add RNDIS configfs options for class/subclass/protocol
This adds 3 new options to the RNDIS gadget function configs. It allows
overriding the default USB interface class/subclass/protocol.
The motivation for this is that if you set the values to "ef" (Misc),
"04" (RNDIS), "01" (Ethernet) respectively, then the device will be
recognized by the rndiscmp.inf file in Windows Vista and newer and will
cause Windows to load the correct RNDIS driver without the need for a
custom (signed) .inf file.
Signed-off-by: David Lechner <david@lechnology.com>
Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>
Diffstat (limited to 'Documentation/ABI/testing')
-rw-r--r-- | Documentation/ABI/testing/configfs-usb-gadget-rndis | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/ABI/testing/configfs-usb-gadget-rndis b/Documentation/ABI/testing/configfs-usb-gadget-rndis index e32879b84b4d..137399095d74 100644 --- a/Documentation/ABI/testing/configfs-usb-gadget-rndis +++ b/Documentation/ABI/testing/configfs-usb-gadget-rndis @@ -12,3 +12,6 @@ Description: Ethernet over USB link dev_addr - MAC address of device's end of this Ethernet over USB link + class - USB interface class, default is 02 (hex) + subclass - USB interface subclass, default is 06 (hex) + protocol - USB interface protocol, default is 00 (hex) |