]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] USB: usbnet (2/9) module for simple network links
authorDavid Brownell <david-b@pacbell.net>
Wed, 31 Aug 2005 16:52:45 +0000 (09:52 -0700)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 8 Sep 2005 23:28:31 +0000 (16:28 -0700)
commit91a11d39e166567cad0e0aa1e7172a8c46870a87
tree9a133b9c7f7d6d2ecbf99b14a9ce8bfd5b0ceea7
parent53d771fc9045374b0cfc5e5ebe1e35532414b933
[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