[PATCH] USB: usbnet (6/9) module for Zaurii and compatibles
This moves usbnet support for Zaurus and compatibles into its own module.
Other than exporting a couple of helper functions, this just involved
shuffling some code and updating the comments.
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
diff --git a/drivers/usb/net/Kconfig b/drivers/usb/net/Kconfig
index 0aafd59..20de109 100644
--- a/drivers/usb/net/Kconfig
+++ b/drivers/usb/net/Kconfig
@@ -140,23 +140,6 @@
comment "Intelligent USB Devices/Gadgets"
depends on USB_USBNET
-config USB_ZAURUS
- boolean "Sharp Zaurus (stock ROMs) and compatible"
- depends on USB_USBNET
- select CRC32
- default y
- help
- Choose this option to support the usb networking links used by
- Zaurus models like the SL-5000D, SL-5500, SL-5600, A-300, B-500.
- This also supports some related device firmware, as used in some
- PDAs from Olympus and some cell phones from Motorola.
-
- If you install an alternate ROM image, such as the Linux 2.6 based
- versions of OpenZaurus, you should no longer need to support this
- protocol. Only the "eth-fd" or "net_fd" drivers in these devices
- really need this non-conformant variant of CDC Ethernet (or in
- some cases CDC MDLM) protocol, not "g_ether".
-
config USB_CDCETHER
boolean "CDC Ethernet support (smart devices such as cable modems)"
depends on USB_USBNET
@@ -294,6 +277,23 @@
Choose this option to support the usb networking links used
by some sample firmware from Epson.
+config USB_NET_ZAURUS
+ tristate "Sharp Zaurus (stock ROMs) and compatible"
+ depends on USB_USBNET
+ select CRC32
+ default y
+ help
+ Choose this option to support the usb networking links used by
+ Zaurus models like the SL-5000D, SL-5500, SL-5600, A-300, B-500.
+ This also supports some related device firmware, as used in some
+ PDAs from Olympus and some cell phones from Motorola.
+
+ If you install an alternate ROM image, such as the Linux 2.6 based
+ versions of OpenZaurus, you should no longer need to support this
+ protocol. Only the "eth-fd" or "net_fd" drivers in these devices
+ really need this non-conformant variant of CDC Ethernet (or in
+ some cases CDC MDLM) protocol, not "g_ether".
+
config USB_ZD1201
tristate "USB ZD1201 based Wireless device support"