]> git.kernelconcepts.de Git - karo-tx-linux.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)
commitc4128cac3557ddd5fa972cb6511c426cd94a7ccd
tree091a9630f81e35f8f51b32f0e63df4c69f269935
parent849b1333153c989b3618e05981fd23f61fcfdee4
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]