Skip to content

Commit 64e0491

Browse files
David Brownellgregkh
authored andcommitted
[PATCH] USB: usbnet (8/9) module for RNDIS devices
This adds host-side RNDIS support to the "usbnet" driver, so Linux can talk to various devices (often based on WinCE) that otherwise only Windows could talk to. Tested with little-endian Linux talking to a Linux-USB Ethernet/RNDIS based peripheral. This also includes updates from Eddie C. Dost <[email protected]> for big-endian SPARC Linux talking to a Nokia 9500 Communicator. It's still marked as EXPERIMENTAL because this code is so young. This ought to let Linux to work with various cable modems that previously would have been "Windows Only". Signed-off-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 4324fd4 commit 64e0491

File tree

4 files changed

+630
-8
lines changed

4 files changed

+630
-8
lines changed

drivers/usb/net/Kconfig

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -212,6 +212,19 @@ config USB_NET_NET1080
212212
on this design: one NetChip 1080 chip and supporting logic,
213213
optionally with LEDs that indicate traffic
214214

215+
config USB_NET_RNDIS_HOST
216+
tristate "Host for RNDIS devices (EXPERIMENTAL)"
217+
depends on USB_USBNET && EXPERIMENTAL
218+
select USB_NET_CDCETHER
219+
help
220+
This option enables hosting "Remote NDIS" USB networking links,
221+
as encouraged by Microsoft (instead of CDC Ethernet!) for use in
222+
various devices that may only support this protocol.
223+
224+
Avoid using this protocol unless you have no better options.
225+
The protocol specification is incomplete, and is controlled by
226+
(and for) Microsoft; it isn't an "Open" ecosystem or market.
227+
215228
config USB_NET_CDC_SUBSET
216229
tristate "Simple USB Network Links (CDC Ethernet subset)"
217230
depends on USB_USBNET

drivers/usb/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ obj-$(CONFIG_USB_NET_AX8817X) += asix.o
1010
obj-$(CONFIG_USB_NET_CDCETHER) += cdc_ether.o
1111
obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
1212
obj-$(CONFIG_USB_NET_NET1080) += net1080.o
13+
obj-$(CONFIG_USB_NET_RNDIS_HOST) += rndis_host.o
1314
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
1415
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
1516
obj-$(CONFIG_USB_USBNET) += usbnet.o

0 commit comments

Comments
 (0)