]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commita273582daf1cad0647de10e3df306c8b40f09418
tree9c596d23beda50080a21a5ed90be3e9f4a6a5d1e
parent55761ca86704f8c1d7c818ff470a4d4158e390ec
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