• David Brownell's avatar
    [PATCH] USB Gadget: Ethernet/RNDIS gadget, minor updates · 3bc5c62a
    David Brownell authored
    Helps battery recharge, and gives this a new version string
    since it's changed a lot since St. Patrick's Day.
    
    
    Just minor updates:
    
     - use usb_gadget_vbus_draw() when changing configs, so that USB can
       be used to recharge batteries (or whatever); and report power use.
       bMaxPower is now 100 mA except with OTG (where it's 8mA).
    
     - rename /proc/rndis/000 as /proc/driver/rndis-000, and only have it
       when a new CONFIG variable is set (added by a later patch)
    
     - minor fixes to make some debug-only rndis messages compile
    
     - version is now "Equinox 2004".
    Signed-off-by: default avatarDavid Brownell <dbrownell@users.sourceforge.net>
    Signed-off-by: default avatarGreg Kroah-Hartman <greg@kroah.com>
    3bc5c62a
ether.c 70.8 KB