2005-04-17 06:20:36 +08:00
|
|
|
#
|
|
|
|
# Makefile for the USB serial device drivers.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Object file lists.
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB_SERIAL) += usbserial.o
|
|
|
|
|
2010-10-07 10:03:26 +08:00
|
|
|
usbserial-y := usb-serial.o generic.o bus.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2010-10-07 10:03:26 +08:00
|
|
|
usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o
|
2005-04-17 06:20:36 +08:00
|
|
|
|
2006-08-10 03:35:12 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o
|
2006-05-13 02:05:29 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_BELKIN) += belkin_sa.o
|
2007-08-23 03:48:58 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
|
2009-03-12 02:03:49 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CP210X) += cp210x.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CYBERJACK) += cyberjack.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_CYPRESS_M8) += cypress_m8.o
|
2002-04-10 03:14:34 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_DEBUG) += usb_debug.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_DIGI_ACCELEPORT) += digi_acceleport.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_EDGEPORT) += io_edgeport.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_EDGEPORT_TI) += io_ti.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_EMPEG) += empeg.o
|
2012-02-29 05:36:35 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_F81232) += f81232.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_FTDI_SIO) += ftdi_sio.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_GARMIN) += garmin_gps.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_IPAQ) += ipaq.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_IPW) += ipw.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_IR) += ir-usb.o
|
2008-02-08 06:59:03 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_IUU) += iuu_phoenix.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_KEYSPAN) += keyspan.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_KEYSPAN_PDA) += keyspan_pda.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_KLSI) += kl5kusb105.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_KOBIL_SCT) += kobil_sct.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_MCT_U232) += mct_u232.o
|
2012-03-09 05:34:01 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_METRO) += metro-usb.o
|
2002-04-10 03:14:34 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_MOS7720) += mos7720.o
|
2006-09-01 08:41:47 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_MOS7840) += mos7840.o
|
USB: serial: add Moxa UPORT 12XX/14XX/16XX driver
Add a driver which supports the following Moxa USB to serial converters:
* 2 ports : UPort 1250, UPort 1250I
* 4 ports : UPort 1410, UPort 1450, UPort 1450I
* 8 ports : UPort 1610-8, UPort 1650-8
* 16 ports : UPort 1610-16, UPort 1650-16
The UPORT devices don't directly fit the USB serial model. USB serial
assumes a bulk in/out endpoint pair per serial port. Thus a dual port
USB serial device is expected to have two bulk in/out pairs. The Moxa
UPORT only has one pair for data transfer and places a header on each
transfer over the endpoint indicating for which port the transfer
relates to. There is a second endpoint pair for events, such as modem
control lines changing state, setting baud rates etc. Again, a
multiplexing header is used on these endpoints.
Some ports need to have a kfifo explicitly allocated since the
framework does not allocate one if there is no associated endpoints.
The framework will however free it on unload of the module.
All data transfers are made on port0, yet the locks are taken on PortN.
urb->context points to PortN, even though the URB is for port0.
Where possible, code from the generic driver is called. However
mxuport_process_read_urb_data() is mostly a cut/paste of
usb_serial_generic_process_read_urb().
The driver will attempt to load firmware from userspace and compare
the available version and the running version. If the available
version is newer, it will be download into RAM of the device and
started. This is optional and the driver appears to work O.K. with
older firmware in the devices ROM.
This driver is based on the MOXA driver and retains MOXAs copyright.
[jhovold@gmail.com: fix get_fw_version error path and some style issues]
Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Johan Hovold <jhovold@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2013-12-30 02:23:17 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_MXUPORT) += mxuport.o
|
2006-03-18 09:40:08 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_NAVMAN) += navman.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OMNINET) += omninet.o
|
2008-11-04 05:27:03 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OPTICON) += opticon.o
|
2005-05-24 08:00:48 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OPTION) += option.o
|
2007-03-27 18:34:30 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OTI6858) += oti6858.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_PL2303) += pl2303.o
|
2010-02-26 02:39:20 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QCAUX) += qcaux.o
|
2009-02-18 14:39:56 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QUALCOMM) += qcserial.o
|
2012-05-11 03:36:02 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QT2) += quatech2.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SAFE) += safe_serial.o
|
2006-07-01 02:17:55 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SIERRAWIRELESS) += sierra.o
|
2013-08-05 19:27:19 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SIMPLE) += usb-serial-simple.o
|
2008-02-08 06:59:03 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SPCP8X5) += spcp8x5.o
|
2010-07-29 23:05:41 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SSU100) += ssu100.o
|
2009-02-14 09:25:46 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SYMBOL) += symbolserial.o
|
2010-04-02 00:31:07 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WWAN) += usb_wwan.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_TI) += ti_usb_3410_5052.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_VISOR) += visor.o
|
2013-04-11 21:08:20 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WISHBONE) += wishbone-serial.o
|
2005-04-17 06:20:36 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WHITEHEAT) += whiteheat.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda.o
|
2013-01-26 00:05:44 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_XSENS_MT) += xsens_mt.o
|
2012-08-18 07:59:51 +08:00
|
|
|
obj-$(CONFIG_USB_SERIAL_ZTE) += zte_ev.o
|