2005-04-17 05:20:36 +07:00
|
|
|
#
|
|
|
|
# Makefile for the USB serial device drivers.
|
|
|
|
#
|
|
|
|
|
|
|
|
# Object file lists.
|
|
|
|
|
|
|
|
obj-$(CONFIG_USB_SERIAL) += usbserial.o
|
|
|
|
|
2010-10-07 09:03:26 +07:00
|
|
|
usbserial-y := usb-serial.o generic.o bus.o
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2010-10-07 09:03:26 +07:00
|
|
|
usbserial-$(CONFIG_USB_SERIAL_CONSOLE) += console.o
|
2005-04-17 05:20:36 +07:00
|
|
|
|
2006-08-10 02:35:12 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_AIRCABLE) += aircable.o
|
2006-05-13 01:05:29 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_ARK3116) += ark3116.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_BELKIN) += belkin_sa.o
|
2007-08-23 02:48:58 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CH341) += ch341.o
|
2009-03-12 01:03:49 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CP210X) += cp210x.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_CYBERJACK) += cyberjack.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_CYPRESS_M8) += cypress_m8.o
|
2002-04-10 02:14:34 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_DEBUG) += usb_debug.o
|
2005-04-17 05:20:36 +07: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 04:36:35 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_F81232) += f81232.o
|
2005-04-17 05:20:36 +07: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 05:59:03 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_IUU) += iuu_phoenix.o
|
2005-04-17 05:20:36 +07: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 04:34:01 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_METRO) += metro-usb.o
|
2002-04-10 02:14:34 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_MOS7720) += mos7720.o
|
2006-09-01 07:41:47 +07: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 01:23:17 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_MXUPORT) += mxuport.o
|
2006-03-18 08:40:08 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_NAVMAN) += navman.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OMNINET) += omninet.o
|
2008-11-04 04:27:03 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OPTICON) += opticon.o
|
2005-05-24 07:00:48 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OPTION) += option.o
|
2007-03-27 17:34:30 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_OTI6858) += oti6858.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_PL2303) += pl2303.o
|
2010-02-26 01:39:20 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QCAUX) += qcaux.o
|
2009-02-18 13:39:56 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QUALCOMM) += qcserial.o
|
2012-05-11 02:36:02 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_QT2) += quatech2.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SAFE) += safe_serial.o
|
2006-07-01 01:17:55 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SIERRAWIRELESS) += sierra.o
|
2013-08-05 18:27:19 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SIMPLE) += usb-serial-simple.o
|
2008-02-08 05:59:03 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SPCP8X5) += spcp8x5.o
|
2010-07-29 22:05:41 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SSU100) += ssu100.o
|
2009-02-14 08:25:46 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_SYMBOL) += symbolserial.o
|
2010-04-01 23:31:07 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WWAN) += usb_wwan.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_TI) += ti_usb_3410_5052.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_VISOR) += visor.o
|
2013-04-11 20:08:20 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WISHBONE) += wishbone-serial.o
|
2005-04-17 05:20:36 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_WHITEHEAT) += whiteheat.o
|
|
|
|
obj-$(CONFIG_USB_SERIAL_XIRCOM) += keyspan_pda.o
|
2013-01-25 23:05:44 +07:00
|
|
|
obj-$(CONFIG_USB_SERIAL_XSENS_MT) += xsens_mt.o
|