usbnet: CDC EEM support (v5)
authorOmar Laazimani <omar.oberthur@gmail.com>
Mon, 4 May 2009 19:01:43 +0000 (12:01 -0700)
committerDavid S. Miller <davem@davemloft.net>
Mon, 4 May 2009 19:01:43 +0000 (12:01 -0700)
commit9f722c0978b04acba209f8ca1896ad05814bc3a3
tree9c596d23beda50080a21a5ed90be3e9f4a6a5d1e
parent0c266898b42fe4e4e2f9edfc9d3474c10f93aa6a
usbnet: CDC EEM support (v5)

This introduces a CDC Ethernet Emulation Model (EEM) host side
driver to support USB EEM devices.

EEM is different from the Ethernet Control Model (ECM) currently
supported by the "CDC Ethernet" driver.  One key difference is
that it doesn't require of USB interface alternate settings to
manage interface state; some maldesigned hardware can't handle
that part of USB.  It also avoids a separate USB interface for
control and status updates.

[ dbrownell@users.sourceforge.net: fix skb leaks, add rx packet
checks, improve fault handling, EEM conformance updates, cleanup ]

Signed-off-by: Omar Laazimani <omar.oberthur@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/usb/Kconfig
drivers/net/usb/Makefile
drivers/net/usb/cdc_eem.c [new file with mode: 0644]
include/linux/usb/cdc.h