ecm_bind_config(9) 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 <[email protected]>

Author.

COPYRIGHT