diff options
author | David Brownell <david-b@pacbell.net> | 2005-08-31 12:52:31 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-09-08 19:28:30 -0400 |
commit | f29fc259976e9f4dd1fe8ed59ccdd50e4ea61db0 (patch) | |
tree | ef2798f4b6581926082b88a8cd6cdecbd11ac39e /drivers/usb/net/Kconfig | |
parent | dd7d50081f5dafd9392bd79f1ec90d553a7303c9 (diff) |
[PATCH] USB: usbnet (1/9) clean up framing
This starts to prepare the core of "usbnet" to know less about various
framing protocols that map Ethernet packets onto USB, so "minidrivers"
can be modules that just plug into the core.
- Remove some framing-specific code that cluttered the core:
* net->hard_header_len records how much space to preallocate;
now drivers that add their own framing (Net1080, GeneLink,
Zaurus, and RNDIS) will have smoother TX paths. Even for
the drivers (Zaurus, Net1080) that need trailers.
* defines new dev->hard_mtu, using this "hardware" limit to
check changes to the link's settable "software" mtu.
* now net->hard_header_len and dev->hard_mtu are set up in the
driver bind() routines, if needed.
- Transaction ID is no longer specific to the Net1080 framing;
RNDIS needs one too.
- Creates a new "usbnet.h" header with declarations that are shared
between the core and what will be separate modules.
- Plus a couple other minor tweaks, like recognizing -ESHUTDOWN
means the keventd work should just shut itself down asap.
The core code is only about 1/3 of this large file. Splitting out the
minidrivers into separate modules (e.g. ones for ASIX adapters,
Zaurii and similar, CDC Ethernet, etc), in later patches, will
improve maintainability and shrink typical runtime footprints.
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 | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/net/Kconfig b/drivers/usb/net/Kconfig index b104430e2c6a..135d50889d81 100644 --- a/drivers/usb/net/Kconfig +++ b/drivers/usb/net/Kconfig | |||
@@ -247,6 +247,7 @@ config USB_CDCETHER | |||
247 | 247 | ||
248 | CDC Ethernet is an implementation option for DOCSIS cable modems | 248 | CDC Ethernet is an implementation option for DOCSIS cable modems |
249 | that support USB connectivity, used for non-Microsoft USB hosts. | 249 | that support USB connectivity, used for non-Microsoft USB hosts. |
250 | The Linux-USB CDC Ethernet Gadget driver is an open implementation. | ||
250 | This driver should work with at least the following devices: | 251 | This driver should work with at least the following devices: |
251 | 252 | ||
252 | * Ericsson PipeRider (all variants) | 253 | * Ericsson PipeRider (all variants) |