diff options
author | Brian Niebuhr <bniebuhr@efjohnson.com> | 2009-08-14 11:04:22 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2009-09-23 09:46:35 -0400 |
commit | 9b39e9ddedeef48569f8aac60a7b4c1fbb127c7d (patch) | |
tree | d2cc583190e18fa03298e84093c3346e1646007c /drivers/usb/gadget/rndis.h | |
parent | 877accca79b706afe5d78b9a92cf4f22919fb2b0 (diff) |
USB: gadget: Add EEM gadget driver
This patch adds a CDC EEM ethernet gadget driver. CDC EEM is a newer
USB ethernet specification that uses a simpler interface than the older
CDC ECM. This makes CDC EEM usable by a wider set of USB hardware.
By default the ethernet gadget will still use CDC ECM/Subset, but kernel
configuration and/or a module parameter will allow alternative use of
the CDC EEM protocol.
Changes since last version:
- Brought in missing RNDIS changes that caused compile error
- Modified 'sentinel CRC' checking to match EEM host driver
Signed-off-by: Brian Niebuhr <bniebuhr@efjohnson.com>
Cc: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/usb/gadget/rndis.h')
-rw-r--r-- | drivers/usb/gadget/rndis.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/usb/gadget/rndis.h b/drivers/usb/gadget/rndis.h index aac61dfe0f03..c236aaa9dcd1 100644 --- a/drivers/usb/gadget/rndis.h +++ b/drivers/usb/gadget/rndis.h | |||
@@ -251,7 +251,8 @@ int rndis_set_param_vendor (u8 configNr, u32 vendorID, | |||
251 | const char *vendorDescr); | 251 | const char *vendorDescr); |
252 | int rndis_set_param_medium (u8 configNr, u32 medium, u32 speed); | 252 | int rndis_set_param_medium (u8 configNr, u32 medium, u32 speed); |
253 | void rndis_add_hdr (struct sk_buff *skb); | 253 | void rndis_add_hdr (struct sk_buff *skb); |
254 | int rndis_rm_hdr (struct sk_buff *skb); | 254 | int rndis_rm_hdr(struct gether *port, struct sk_buff *skb, |
255 | struct sk_buff_head *list); | ||
255 | u8 *rndis_get_next_response (int configNr, u32 *length); | 256 | u8 *rndis_get_next_response (int configNr, u32 *length); |
256 | void rndis_free_response (int configNr, u8 *buf); | 257 | void rndis_free_response (int configNr, u8 *buf); |
257 | 258 | ||