usb: gadget: f_ncm.c added
Initial submittion of NCM link function driver. The driver's logic is based on f_ecm driver and does not use most of the NCM advantages like frame grouping and alignment. Signed-off-by: Yauheni Kaliuta <yauheni.kaliuta@nokia.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
parent
5c1168dbc5
commit
9f6ce4240a
1407
drivers/usb/gadget/f_ncm.c
Normal file
1407
drivers/usb/gadget/f_ncm.c
Normal file
File diff suppressed because it is too large
Load Diff
@ -107,6 +107,7 @@ static inline bool can_support_ecm(struct usb_gadget *gadget)
|
||||
/* each configuration may bind one instance of an ethernet link */
|
||||
int geth_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]);
|
||||
int ecm_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]);
|
||||
int ncm_bind_config(struct usb_configuration *c, u8 ethaddr[ETH_ALEN]);
|
||||
int eem_bind_config(struct usb_configuration *c);
|
||||
|
||||
#ifdef USB_ETH_RNDIS
|
||||
|
Loading…
Reference in New Issue
Block a user