Skip to content

Commit 0aa599c

Browse files
David Brownellgregkh
authored andcommitted
[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 <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 47ee305 commit 0aa599c

File tree

5 files changed

+433
-367
lines changed

5 files changed

+433
-367
lines changed

drivers/usb/net/Kconfig

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -140,23 +140,6 @@ config USB_PL2301
140140
comment "Intelligent USB Devices/Gadgets"
141141
depends on USB_USBNET
142142

143-
config USB_ZAURUS
144-
boolean "Sharp Zaurus (stock ROMs) and compatible"
145-
depends on USB_USBNET
146-
select CRC32
147-
default y
148-
help
149-
Choose this option to support the usb networking links used by
150-
Zaurus models like the SL-5000D, SL-5500, SL-5600, A-300, B-500.
151-
This also supports some related device firmware, as used in some
152-
PDAs from Olympus and some cell phones from Motorola.
153-
154-
If you install an alternate ROM image, such as the Linux 2.6 based
155-
versions of OpenZaurus, you should no longer need to support this
156-
protocol. Only the "eth-fd" or "net_fd" drivers in these devices
157-
really need this non-conformant variant of CDC Ethernet (or in
158-
some cases CDC MDLM) protocol, not "g_ether".
159-
160143
config USB_CDCETHER
161144
boolean "CDC Ethernet support (smart devices such as cable modems)"
162145
depends on USB_USBNET
@@ -294,6 +277,23 @@ config USB_EPSON2888
294277
Choose this option to support the usb networking links used
295278
by some sample firmware from Epson.
296279

280+
config USB_NET_ZAURUS
281+
tristate "Sharp Zaurus (stock ROMs) and compatible"
282+
depends on USB_USBNET
283+
select CRC32
284+
default y
285+
help
286+
Choose this option to support the usb networking links used by
287+
Zaurus models like the SL-5000D, SL-5500, SL-5600, A-300, B-500.
288+
This also supports some related device firmware, as used in some
289+
PDAs from Olympus and some cell phones from Motorola.
290+
291+
If you install an alternate ROM image, such as the Linux 2.6 based
292+
versions of OpenZaurus, you should no longer need to support this
293+
protocol. Only the "eth-fd" or "net_fd" drivers in these devices
294+
really need this non-conformant variant of CDC Ethernet (or in
295+
some cases CDC MDLM) protocol, not "g_ether".
296+
297297

298298
config USB_ZD1201
299299
tristate "USB ZD1201 based Wireless device support"

drivers/usb/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,5 +10,6 @@ obj-$(CONFIG_USB_NET_AX8817X) += asix.o
1010
obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
1111
obj-$(CONFIG_USB_NET_NET1080) += net1080.o
1212
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
13+
obj-$(CONFIG_USB_NET_ZAURUS) += zaurus.o
1314
obj-$(CONFIG_USB_USBNET) += usbnet.o
1415
obj-$(CONFIG_USB_ZD1201) += zd1201.o

0 commit comments

Comments
 (0)