USB: serial: add vizzini driver

Here's a driver for the Vizzini USB to serial device.
It looks to be copied from cdc-acm, and probably can be cleaned up a lot
more.  Also, there's some odd "try to grab another interface" that is
probably wrong.  And, if this really is a cdc-acm device, it probably
should just be a quirk of the cdc-acm device, but I can't figure that
out, and people have been using this driver for a long time now.  So
merge it to let people use their hardware and clean it up over time.

Driver written by Rob Duncan but cleaned up and forward ported to the
latest kernel tree by me.

Cc: Rob Duncan <rob.duncan@exar.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Greg Kroah-Hartman 2012-09-17 22:53:32 -07:00
parent ac08de32d2
commit c05fecb1d5
3 changed files with 1372 additions and 0 deletions

View File

@ -182,6 +182,14 @@ config USB_SERIAL_VISOR
To compile this driver as a module, choose M here: the
module will be called visor.
config USB_SERIAL_VIZZINI
tristate "USB Vizzini Serial Converter Driver"
help
Say Y here if you have a Vizzini USB to serial device.
To compile this driver as a module, choose M here: the
module will be called vizzini.
config USB_SERIAL_IPAQ
tristate "USB PocketPC PDA Driver"
help

View File

@ -59,6 +59,7 @@ obj-$(CONFIG_USB_SERIAL_SYMBOL) += symbolserial.o
obj-$(CONFIG_USB_SERIAL_WWAN) += usb_wwan.o
obj-$(CONFIG_USB_SERIAL_TI) += ti_usb_3410_5052.o
obj-$(CONFIG_USB_SERIAL_VISOR) += visor.o
obj-$(CONFIG_USB_SERIAL_VIZZINI) += vizzini.o
obj-$(CONFIG_USB_SERIAL_WHITEHEAT) += whiteheat.o
obj-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda.o
obj-$(CONFIG_USB_SERIAL_VIVOPAY_SERIAL) += vivopay-serial.o

1363
drivers/usb/serial/vizzini.c Normal file

File diff suppressed because it is too large Load Diff