aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/net
diff options
context:
space:
mode:
authorDavid Brownell <david-b@pacbell.net>2007-02-16 00:32:31 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2007-02-16 18:32:22 -0500
commit691895c661b0419e7cd65429e5077264a2ca01a3 (patch)
tree55f7b165a856849226065ea8852eac9225d46c89 /drivers/usb/net
parentcb1cebbee61abcb6b55c63fdfebb5ca5effaedea (diff)
usbnet: add missing Kconfig for KC2190 cables
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>
Diffstat (limited to 'drivers/usb/net')
-rw-r--r--drivers/usb/net/Kconfig8
-rw-r--r--drivers/usb/net/cdc_subset.c5
2 files changed, 13 insertions, 0 deletions
diff --git a/drivers/usb/net/Kconfig b/drivers/usb/net/Kconfig
index 5b7fed78c19f..0f3d7dbb537f 100644
--- a/drivers/usb/net/Kconfig
+++ b/drivers/usb/net/Kconfig
@@ -240,6 +240,7 @@ config USB_NET_RNDIS_HOST
240config USB_NET_CDC_SUBSET 240config USB_NET_CDC_SUBSET
241 tristate "Simple USB Network Links (CDC Ethernet subset)" 241 tristate "Simple USB Network Links (CDC Ethernet subset)"
242 depends on USB_USBNET 242 depends on USB_USBNET
243 default y
243 help 244 help
244 This driver module supports USB network devices that can work 245 This driver module supports USB network devices that can work
245 without any device-specific information. Select it if you have 246 without any device-specific information. Select it if you have
@@ -299,6 +300,13 @@ config USB_EPSON2888
299 Choose this option to support the usb networking links used 300 Choose this option to support the usb networking links used
300 by some sample firmware from Epson. 301 by some sample firmware from Epson.
301 302
303config USB_KC2190
304 boolean "KT Technology KC2190 based cables (InstaNet)"
305 depends on USB_NET_CDC_SUBSET && EXPERIMENTAL
306 help
307  Choose this option if you're using a host-to-host cable
308  with one of these chips.
309
302config USB_NET_ZAURUS 310config USB_NET_ZAURUS
303 tristate "Sharp Zaurus (stock ROMs) and compatible" 311 tristate "Sharp Zaurus (stock ROMs) and compatible"
304 depends on USB_USBNET 312 depends on USB_USBNET
diff --git a/drivers/usb/net/cdc_subset.c b/drivers/usb/net/cdc_subset.c
index 6e3fead26ce1..bc62b012602b 100644
--- a/drivers/usb/net/cdc_subset.c
+++ b/drivers/usb/net/cdc_subset.c
@@ -165,6 +165,11 @@ static const struct driver_info epson2888_info = {
165#endif /* CONFIG_USB_EPSON2888 */ 165#endif /* CONFIG_USB_EPSON2888 */
166 166
167 167
168/*-------------------------------------------------------------------------
169 *
170 * info from Jonathan McDowell <noodles@earth.li>
171 *
172 *-------------------------------------------------------------------------*/
168#ifdef CONFIG_USB_KC2190 173#ifdef CONFIG_USB_KC2190
169#define HAVE_HARDWARE 174#define HAVE_HARDWARE
170static const struct driver_info kc2190_info = { 175static const struct driver_info kc2190_info = {