diff options
author | David Brownell <david-b@pacbell.net> | 2005-08-31 12:54:36 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:28:33 -0400 |
commit | 64e049102d3de3e61409cb6019403a9e689dfda6 (patch) | |
tree | ede794cb59e0b5ae3fc72e901663646a12e04d38 /drivers/usb/net/usbnet.c | |
parent | 4324fd493430c0ab99dd7e89d50540b5e70f8098 (diff) |
[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 <ecd@brainaid.de>
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 <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/net/usbnet.c')
-rw-r--r-- | drivers/usb/net/usbnet.c | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/drivers/usb/net/usbnet.c b/drivers/usb/net/usbnet.c index 7703725327d2..6c78a42affaa 100644 --- a/drivers/usb/net/usbnet.c +++ b/drivers/usb/net/usbnet.c | |||
@@ -103,6 +103,7 @@ | |||
103 | * disconnect; other cleanups. (db) Flush net1080 fifos | 103 | * disconnect; other cleanups. (db) Flush net1080 fifos |
104 | * after several sequential framing errors. (Johannes Erdfelt) | 104 | * after several sequential framing errors. (Johannes Erdfelt) |
105 | * 22-aug-2003 AX8817X support (Dave Hollis). | 105 | * 22-aug-2003 AX8817X support (Dave Hollis). |
106 | * | ||
106 | * 14-jun-2004 Trivial patch for AX8817X based Buffalo LUA-U2-KTX in Japan | 107 | * 14-jun-2004 Trivial patch for AX8817X based Buffalo LUA-U2-KTX in Japan |
107 | * (Neil Bortnak) | 108 | * (Neil Bortnak) |
108 | * 03-nov-2004 Trivial patch for KC2190 (KC-190) chip. (Jonathan McDowell) | 109 | * 03-nov-2004 Trivial patch for KC2190 (KC-190) chip. (Jonathan McDowell) |
@@ -1375,14 +1376,6 @@ static const struct usb_device_id products [] = { | |||
1375 | .driver_info = (unsigned long) &prolific_info, | 1376 | .driver_info = (unsigned long) &prolific_info, |
1376 | }, | 1377 | }, |
1377 | #endif | 1378 | #endif |
1378 | |||
1379 | #ifdef CONFIG_USB_RNDIS | ||
1380 | { | ||
1381 | /* RNDIS is MSFT's un-official variant of CDC ACM */ | ||
1382 | USB_INTERFACE_INFO (USB_CLASS_COMM, 2 /* ACM */, 0x0ff), | ||
1383 | .driver_info = (unsigned long) &rndis_info, | ||
1384 | }, | ||
1385 | #endif | ||
1386 | { }, // END | 1379 | { }, // END |
1387 | }; | 1380 | }; |
1388 | MODULE_DEVICE_TABLE (usb, products); | 1381 | MODULE_DEVICE_TABLE (usb, products); |