[PATCH] USB: usbnet (2/9) module for simple network links
commit38bde1d4699af45e6a4167a72e2e512e45c35ca8
authorDavid Brownell <david-b@pacbell.net>
Wed, 31 Aug 2005 16:52:45 +0000 (31 09:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:28:31 +0000 (8 16:28 -0700)
tree9a133b9c7f7d6d2ecbf99b14a9ce8bfd5b0ceea7
parentf29fc259976e9f4dd1fe8ed59ccdd50e4ea61db0
[PATCH] USB: usbnet (2/9) module for simple network links

This patch creates the first of several separate "minidriver" modules
for "usbnet".  This one handles only the very simplest hardware, which
can be handled almost entirely by the "usbnet" core.

    - Move device-specific bits into new "cdc_subset.c" driver,
      shrinking "usbnet" by a bunch;

    - Export the functions needed to support this minidriver
      (with EXPORT_SYMBOL_GPL);

    - Update Kconfig and kbuild accordingly.

This one handles about a dozen different device types, with the most
notable ones being Gumstix and most Linux-based PDAs (except Zaurus
running that ancient code from Sharp).

Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/net/Kconfig
drivers/usb/net/Makefile
drivers/usb/net/cdc_subset.c [new file with mode: 0644]
drivers/usb/net/usbnet.c
drivers/usb/net/usbnet.h