ECM_BIND_CONFIG
Section: Kernel Mode Gadget API (9)
Updated: February 2011
Index
Return to Main Contents
NAME
ecm_bind_config - add CDC Ethernet network link to a configuration
SYNOPSIS
-
int ecm_bind_config(struct usb_configuration * c, u8 ethaddr[ETH_ALEN]);
ARGUMENTS
c
-
- the configuration to support the network link
ethaddr[ETH_ALEN]
-
a buffer in which the ethernet address of the host side side of the link was recorded
CONTEXT
single threaded during gadget setup
DESCRIPTION
Returns zero on success, else negative errno.
Caller must have called
gether_setup(). Caller is also responsible for calling
gether_cleanup() before module unload.
AUTHOR
David Brownell <dbrownell@users.sourceforge.net>
-
Author.
COPYRIGHT