This patch adds support to Kconfig to build ax8817x support into usbnet. This renames the config option for the existing standalone ax8817x driver to CONFIG_USB_AX8817X_STANDALONE.
--- linux-2.6.0-test3.orig/drivers/usb/net/Kconfig      2003-08-09 15:05:07.131368024 
-0400
+++ linux-2.6.0-test3/drivers/usb/net/Kconfig   2003-08-09 15:10:17.219227504 -0400
@@ -7,7 +7,7 @@
 comment "Networking support is needed for USB Networking device support"
        depends on USB && !NET
 
-config USB_AX8817X
+config USB_AX8817X_STANDALONE
        tristate "USB ASIX AX8817X Ethernet device support (EXPERIMENTAL)"
        depends on USB && NET && EXPERIMENTAL
        ---help---
@@ -266,3 +266,26 @@
          IEEE 802 "local assignment" bit is set in the address, a "usbX"
          name is used instead.
 
+config USB_AX8817X
+       boolean "ASIX AX88172 Based USB 2.0 Ethernet Devices"
+       depends on USB_USBNET && EXPERIMENTAL
+       default y
+       help
+
+         This option adds support for ASIX AX88172 based USB 2.0
+         10/100 Ethernet devices.
+
+         This driver should work with at least the following devices:
+           * ASIX AX88172
+           * D-Link DUB-E100
+           * Hawking UF200
+           * Linksys USB200M
+           * Netgear FA120
+           * Intellinet
+           * ST Lab USB Ethernet
+           * TrendNet TU2-ET100
+
+         This driver creates an interface named "ethX", where X depends on
+         what other networking devices you have in use.  
+
+
--- linux-2.6.0-test3.orig/drivers/usb/net/Makefile.mii 2003-08-09 15:05:07.131368024 
-0400
+++ linux-2.6.0-test3/drivers/usb/net/Makefile.mii      2003-08-09 15:05:31.564653600 
-0400
@@ -4,3 +4,4 @@
 
 obj-$(CONFIG_USB_AX8817X)      += mii.o
 obj-$(CONFIG_USB_PEGASUS)      += mii.o
+obj-$(CONFIG_USB_USBNET)       += mii.o

Reply via email to