Skip to content

Commit 47ee305

Browse files
David Brownellgregkh
authored andcommitted
[PATCH] USB: usbnet (5/9) module for genesys gl620a cables
This moves the GeneSys GL620USB-A support into its own driver file. It also fixes a "return wrong skb" glitch in the rx unbatching, as recently reported, and adds some missing byteswaps in the special "genelink" headers (so it might now work on big-endian Linux). Signed-off-by: David Brownell <[email protected]> Signed-off-by: Greg Kroah-Hartman <[email protected]>
1 parent 904813c commit 47ee305

File tree

4 files changed

+418
-359
lines changed

4 files changed

+418
-359
lines changed

drivers/usb/net/Kconfig

Lines changed: 9 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -128,16 +128,6 @@ config USB_USBNET
128128
comment "USB Host-to-Host Cables"
129129
depends on USB_USBNET
130130

131-
config USB_GENESYS
132-
boolean "GeneSys GL620USB-A based cables"
133-
default y
134-
depends on USB_USBNET
135-
help
136-
Choose this option if you're using a host-to-host cable,
137-
or PC2PC motherboard, with this chip.
138-
139-
Note that the half-duplex "GL620USB" is not supported.
140-
141131
config USB_PL2301
142132
boolean "Prolific PL-2301/2302 based cables"
143133
default y
@@ -224,6 +214,15 @@ config USB_NET_AX8817X
224214
what other networking devices you have in use.
225215

226216

217+
config USB_NET_GL620A
218+
tristate "GeneSys GL620USB-A based cables"
219+
depends on USB_USBNET
220+
help
221+
Choose this option if you're using a host-to-host cable,
222+
or PC2PC motherboard, with this chip.
223+
224+
Note that the half-duplex "GL620USB" is not supported.
225+
227226
config USB_NET_NET1080
228227
tristate "NetChip 1080 based cables (Laplink, ...)"
229228
default y

drivers/usb/net/Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ obj-$(CONFIG_USB_KAWETH) += kaweth.o
77
obj-$(CONFIG_USB_PEGASUS) += pegasus.o
88
obj-$(CONFIG_USB_RTL8150) += rtl8150.o
99
obj-$(CONFIG_USB_NET_AX8817X) += asix.o
10+
obj-$(CONFIG_USB_NET_GL620A) += gl620a.o
1011
obj-$(CONFIG_USB_NET_NET1080) += net1080.o
1112
obj-$(CONFIG_USB_NET_CDC_SUBSET) += cdc_subset.o
1213
obj-$(CONFIG_USB_USBNET) += usbnet.o

0 commit comments

Comments
 (0)