USB: ftdi_sio: add Calao reference board support
commitc96fbdd0ab97235f930ebf24b38fa42a2e3458cf
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Thu, 25 Aug 2011 09:46:58 +0000 (25 11:46 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 25 Aug 2011 16:44:50 +0000 (25 09:44 -0700)
treeb36358b9a7ce03928049fbbeed002e555483fe7a
parent6118514e8749105334f46ccec6faf9a439be6cf9
USB: ftdi_sio: add Calao reference board support

Calao use on there dev kits a FT2232 where the port 0 is used for the JTAG and
port 1 for the UART

They use the same VID and PID as FTDI Chip but they program the manufacturer
name in the eeprom

So use this information to detect it

Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Cc: Gregory Hermant <gregory.hermant@calao-systems.com>
Cc: Alan Cox <alan@linux.intel.com>
Cc: stable <stable@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/usb/serial/ftdi_sio.c