]> pilppa.com Git - linux-2.6-omap-h63xx.git/commitdiff
usbnet: add missing Kconfig for KC2190 cables
authorDavid Brownell <david-b@pacbell.net>
Fri, 16 Feb 2007 05:32:31 +0000 (21:32 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Fri, 16 Feb 2007 23:32:22 +0000 (15:32 -0800)
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>
drivers/usb/net/Kconfig
drivers/usb/net/cdc_subset.c

index 5b7fed78c19f010aefb2ec01f5fcfc9e85e4d54c..0f3d7dbb537f43dca627e3544606562c5ff07e16 100644 (file)
@@ -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
@@ -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
index 6e3fead26ce138d70e8ae31b7a5f494256838b5a..bc62b012602b0a6a85bd6dda00d7702743b8a98e 100644 (file)
@@ -165,6 +165,11 @@ static const struct driver_info    epson2888_info = {
 #endif /* CONFIG_USB_EPSON2888 */
 
 \f
+/*-------------------------------------------------------------------------
+ *
+ * info from Jonathan McDowell <noodles@earth.li>
+ *
+ *-------------------------------------------------------------------------*/
 #ifdef CONFIG_USB_KC2190
 #define HAVE_HARDWARE
 static const struct driver_info kc2190_info = {