USB: gadget: Add DEVTYPE support for Ethernet functions
authorMarcel Holtmann <marcel@holtmann.org>
Sat, 16 Jan 2010 06:13:58 +0000 (22:13 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Tue, 2 Mar 2010 22:54:33 +0000 (14:54 -0800)
commitaa7907407adf1358ee39be0e98beaf4c129a78d6
tree60aee203e46b1e28dea95532ea0d0951a9f7545e
parenta8d4211f33a9573f7b1bdcfd9c9c48631d1515ee
USB: gadget: Add DEVTYPE support for Ethernet functions

The problem with Ethernet based networking devices is to clearly
identify what's their usage. Special interfaces like bridges, WiFi,
Bluetooth, WiMAX or WWAN are already using DEVTYPE identification.

This patch marks the Ethernet functions of gadgets from the device
type "gadget". Automatic setup of these interfaces can now happen
from userspace without the need of hardcoding the network interface
name.

Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/gadget/u_ether.c