summaryrefslogtreecommitdiffstats
path: root/drivers/usb/gadget/u_ether.h
diff options
context:
space:
mode:
authorDavid Brownell <dbrownell@users.sourceforge.net>2008-06-19 18:19:32 -0700
committerGreg Kroah-Hartman <gregkh@suse.de>2008-07-21 15:16:13 -0700
commit8a40819e97368f2b6e67fea103348f9fc2f68ceb (patch)
treef1b7b38ecb63adcd5220ff62eb21551fdaa60ed6 /drivers/usb/gadget/u_ether.h
parent2b3d942c4878084a37991a65e66512c02b8fa2ad (diff)
downloadlinux-8a40819e97368f2b6e67fea103348f9fc2f68ceb.tar.gz
linux-8a40819e97368f2b6e67fea103348f9fc2f68ceb.tar.bz2
linux-8a40819e97368f2b6e67fea103348f9fc2f68ceb.zip
usb ethernet gadget: split CDC Subset function
This is a simple "CDC Subset" (and MCCI "SAFE") function driver, extracted from the all-in-one Ethernet gadget driver. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/u_ether.h')
-rw-r--r--drivers/usb/gadget/u_ether.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/usb/gadget/u_ether.h b/drivers/usb/gadget/u_ether.h
index ca8ce467d880..0ef823447f28 100644
--- a/drivers/usb/gadget/u_ether.h
+++ b/drivers/usb/gadget/u_ether.h
@@ -80,4 +80,7 @@ void gether_cleanup(void);
struct net_device *gether_connect(struct gether *);
void gether_disconnect(struct gether *);
+/* each configuration may bind one instance of an ethernet link */
+int geth_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]);
+
#endif /* __U_ETHER_H */