ecm_bind_config

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

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.