]> git.baikalelectronics.ru Git - kernel.git/commit
usb: gadget: net2280: Add support for PLX USB338X
authorRicardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Thu, 15 May 2014 12:28:46 +0000 (14:28 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 27 May 2014 23:02:03 +0000 (16:02 -0700)
commit7b54d34cf4115202582ed9828b7bdb848b31b805
tree091a9630f81e35f8f51b32f0e63df4c69f269935
parent9aee5c7ac4744e3bde5393c50ec6285dc03fe615
usb: gadget: net2280: Add support for PLX USB338X

This patch adds support for the PLX USB3380 and USB3382.

This driver is based on the driver from the manufacturer.

Since USB338X is register compatible with NET2280, I thought that it
would be better to include this hardware into net2280 driver.

Manufacturer's driver only supported the USB33X, did not follow the
Kernel Style and contain some trivial errors. This patch has tried to
address this issues.

This patch has only been tested on USB338x hardware, but the merge has
been done trying to not affect the behaviour of NET2280.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Tested-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/Kconfig
drivers/usb/gadget/net2280.c
drivers/usb/gadget/net2280.h
include/linux/usb/usb338x.h [new file with mode: 0644]