diff options
author | David Brownell <david-b@pacbell.net> | 2005-08-31 12:53:10 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:28:31 -0400 |
commit | 2e55cc7210fef90f88201e860d8767594974574e (patch) | |
tree | 6e2a9a9a5a974a5ac6f1b76c36a4aab01d8d2fe5 /drivers/usb/net/Kconfig | |
parent | 38bde1d4699af45e6a4167a72e2e512e45c35ca8 (diff) |
[PATCH] USB: usbnet (3/9) module for ASIX Ethernet adapters
This patch moves the ASIX AX8817x driver into its own file, just using
the "usbnet" infrastructure as a utility library.
- As with "cdc_subset" this involved minor Kconfig/kbuild tweaks,
moving code from one file to another, and exporting a few functions.
- This includes updates from Jamie Painter to add (and use) a new hook
to handle the different maximum transfer sizes for rx and tx sides.
- Also from Jamie, some bugfixes:
* MDIO byteorder (to address some PPC media negotiation problems);
* Force alignment at key spots when using ax88772 framing (on some
embedded hardware, the network stack will break otherwise);
* Address some link reset problems.
It also makes this driver use the standard (5 seconds vs half second)
control timeouts used elsewhere in USB; and wraps a few lines before
the 80th column (which previously needed it).
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/net/Kconfig')
-rw-r--r-- | drivers/usb/net/Kconfig | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/drivers/usb/net/Kconfig b/drivers/usb/net/Kconfig index 6399b43d41a5..4fb51b998cc8 100644 --- a/drivers/usb/net/Kconfig +++ b/drivers/usb/net/Kconfig | |||
@@ -202,23 +202,22 @@ config USB_CDCETHER | |||
202 | IEEE 802 "local assignment" bit is set in the address, a "usbX" | 202 | IEEE 802 "local assignment" bit is set in the address, a "usbX" |
203 | name is used instead. | 203 | name is used instead. |
204 | 204 | ||
205 | comment "USB Network Adapters" | 205 | comment "Drivers built using the usbnet core" |
206 | depends on USB_USBNET | ||
207 | 206 | ||
208 | config USB_AX8817X | 207 | config USB_NET_AX8817X |
209 | boolean "ASIX AX88xxx Based USB 2.0 Ethernet Devices" | 208 | tristate "ASIX AX88xxx Based USB 2.0 Ethernet Adapters" |
210 | depends on USB_USBNET && NET_ETHERNET | 209 | depends on USB_USBNET && NET_ETHERNET |
211 | select CRC32 | 210 | select CRC32 |
212 | select MII | 211 | select MII |
213 | default y | 212 | default y |
214 | help | 213 | help |
215 | This option adds support for ASIX AX88xxx based USB 2.0 | 214 | This option adds support for ASIX AX88xxx based USB 2.0 |
216 | 10/100 Ethernet devices. | 215 | 10/100 Ethernet adapters. |
217 | 216 | ||
218 | This driver should work with at least the following devices: | 217 | This driver should work with at least the following devices: |
219 | * Aten UC210T | 218 | * Aten UC210T |
220 | * ASIX AX88172 | 219 | * ASIX AX88172 |
221 | * Billionton Systems, USB2AR | 220 | * Billionton Systems, USB2AR |
222 | * Buffalo LUA-U2-KTX | 221 | * Buffalo LUA-U2-KTX |
223 | * Corega FEther USB2-TX | 222 | * Corega FEther USB2-TX |
224 | * D-Link DUB-E100 | 223 | * D-Link DUB-E100 |
@@ -231,7 +230,7 @@ config USB_AX8817X | |||
231 | * TrendNet TU2-ET100 | 230 | * TrendNet TU2-ET100 |
232 | 231 | ||
233 | This driver creates an interface named "ethX", where X depends on | 232 | This driver creates an interface named "ethX", where X depends on |
234 | what other networking devices you have in use. | 233 | what other networking devices you have in use. |
235 | 234 | ||
236 | 235 | ||
237 | config USB_NET_CDC_SUBSET | 236 | config USB_NET_CDC_SUBSET |