• David Brownell's avatar
    [PATCH] USB: usbnet (2/9) module for simple network links · 38bde1d4
    David Brownell authored
    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: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
    38bde1d4
usbnet.c 104 KB