KC2190 support for usbnet.
The patch below adds support for the KC2190 usb-to-usb networking device; the version I have reports itself as:
Bus 001 Device 003: ID 050f:0190 KC Technology, Inc.
I was under the impression that support for this had been added a long time ago, but searching through old kernel versions all I could find was a comment about the chip, with no support. Patch is against 2.6.9 but is pretty minimal.
I don't have a Windows box around to test interoperability with that driver, but the patch appears to make it work perfectly between 2 Linux boxes.
J.
--------
drivers/usb/net/Kconfig +8 -0
@@ -185,6 +185,14 @@ Choose this option if you're using a host-to-host cable with one of these chips. +config USB_KC2190 + boolean "KT Technology KC2190 based cables (InstaNet)" + default y + depends on USB_USBNET && EXPERIMENTAL + help + Choose this option if you're using a host-to-host cable + with one of these chips. + comment "Intelligent USB Devices/Gadgets" depends on USB_USBNET
drivers/usb/net/usbnet.c +17 -1
@@ -31,6 +31,7 @@* - GeneSys GL620USB-A * - NetChip 1080 (interoperates with NetChip Win32 drivers) * - Prolific PL-2301/2302 (replaces "plusb" driver) +* - KC Technology KC2190 * * + Smart USB devices can support such links directly, using Internet * standard protocols instead of proprietary host-to-device links.
@@ -106,6 +107,7 @@* 22-aug-2003 AX8817X support (Dave Hollis). * 14-jun-2004 Trivial patch for AX8817X based Buffalo LUA-U2-KTX in Japan * (Neil Bortnak) +* 03-nov-2004 Trivial patch for KC2190 (KC-190) chip. (Jonathan McDowell) * *-------------------------------------------------------------------------*/
@@ -134,7 +136,7 @@#include <linux/mm.h> #include <linux/dma-mapping.h> -#define DRIVER_VERSION "25-Aug-2003" +#define DRIVER_VERSION "03-Nov-2004"/*-------------------------------------------------------------------------*/
@@ -2159,6 +2161,13 @@#endif /* CONFIG_USB_PL2301 */ + +#ifdef CONFIG_USB_KC2190 +#define HAVE_HARDWARE +static const struct driver_info kc2190_info = { + .description ="KC Technology KC-190" , +}; +#endif /* CONFIG_USB_KC2190 */ #ifdef CONFIG_USB_ARMLINUX
@@ -3292,6 +3301,13 @@ },#endif +#ifdef CONFIG_USB_KC2190 +{ + USB_DEVICE (0x050f, 0x0190), // KC-190 + .driver_info = (unsigned long) &kc2190_info, +}, +#endif +#ifdef CONFIG_USB_RNDIS {/* RNDIS is MSFT's un-official variant of CDC ACM */
--------
Signature · 3 lines
/-\ | If I, um, err. Yeah, it probably |@/ Debian GNU/Linux Developer | rounds down. -- Simon Huggins \- |
Greg KH
AppliedQuoted 5 lines · Jonathan McDowell
The patch below adds support for the KC2190 usb-to-usb networking device; the version I have reports itself as:
Bus 001 Device 003: ID 050f:0190 KC Technology, Inc.
Quoted 8 lines
I was under the impression that support for this had been added a long time ago, but searching through old kernel versions all I could find was a comment about the chip, with no support. Patch is against 2.6.9 but is pretty minimal.
I don't have a Windows box around to test interoperability with that driver, but the patch appears to make it work perfectly between 2 Linux boxes.
Applied, thanks.
greg k-h