Skip to content

Commit

Permalink
usbnet: add missing Kconfig for KC2190 cables
Browse files Browse the repository at this point in the history
Hmm, I noticed that support for one of the USB host-to-host cables
never got fully merged ... Kconfig wouldn't show it!  Fixed.

Also, changed the CDC Subset default to 'y' so that more of these
cables will work out-of-the-box.

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
  • Loading branch information
David Brownell authored and Greg Kroah-Hartman committed Feb 16, 2007
1 parent cb1cebb commit 691895c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
8 changes: 8 additions & 0 deletions drivers/usb/net/Kconfig
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ config USB_NET_RNDIS_HOST
config USB_NET_CDC_SUBSET
tristate "Simple USB Network Links (CDC Ethernet subset)"
depends on USB_USBNET
default y
help
This driver module supports USB network devices that can work
without any device-specific information. Select it if you have
Expand Down Expand Up @@ -299,6 +300,13 @@ config USB_EPSON2888
Choose this option to support the usb networking links used
by some sample firmware from Epson.

config USB_KC2190
boolean "KT Technology KC2190 based cables (InstaNet)"
depends on USB_NET_CDC_SUBSET && EXPERIMENTAL
help
�Choose this option if you're using a host-to-host cable
�with one of these chips.

config USB_NET_ZAURUS
tristate "Sharp Zaurus (stock ROMs) and compatible"
depends on USB_USBNET
Expand Down
5 changes: 5 additions & 0 deletions drivers/usb/net/cdc_subset.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,11 @@ static const struct driver_info epson2888_info = {
#endif /* CONFIG_USB_EPSON2888 */


/*-------------------------------------------------------------------------
*
* info from Jonathan McDowell <noodles@earth.li>
*
*-------------------------------------------------------------------------*/
#ifdef CONFIG_USB_KC2190
#define HAVE_HARDWARE
static const struct driver_info kc2190_info = {
Expand Down

0 comments on commit 691895c

Please sign in to comment.