Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
f_subset.c File Reference
#include <linux/slab.h>
#include <linux/kernel.h>
#include <linux/device.h>
#include <linux/etherdevice.h>
#include "u_ether.h"

Go to the source code of this file.

Data Structures

struct  f_gether
 

Functions

int geth_bind_config (struct usb_configuration *c, u8 ethaddr[ETH_ALEN])
 

Function Documentation

int geth_bind_config ( struct usb_configuration c,
u8  ethaddr[ETH_ALEN] 
)

geth_bind_config - add CDC Subset network link to a configuration : the configuration to support the network link : a buffer in which the ethernet address of the host side side of the link was recorded Context: single threaded during gadget setup

Returns zero on success, else negative errno.

Caller must have called (). Caller is also responsible for calling () before module unload.

Definition at line 407 of file f_subset.c.