Merge 2.6.38-rc6 into tty-next
This was to resolve a merge issue with drivers/char/Makefile and drivers/tty/serial/68328serial.c Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
@@ -100,6 +100,7 @@ struct ftdi_sio_quirk {
|
||||
static int ftdi_jtag_probe(struct usb_serial *serial);
|
||||
static int ftdi_mtxorb_hack_setup(struct usb_serial *serial);
|
||||
static int ftdi_NDI_device_setup(struct usb_serial *serial);
|
||||
static int ftdi_stmclite_probe(struct usb_serial *serial);
|
||||
static void ftdi_USB_UIRT_setup(struct ftdi_private *priv);
|
||||
static void ftdi_HE_TIRA1_setup(struct ftdi_private *priv);
|
||||
|
||||
@@ -123,6 +124,10 @@ static struct ftdi_sio_quirk ftdi_HE_TIRA1_quirk = {
|
||||
.port_probe = ftdi_HE_TIRA1_setup,
|
||||
};
|
||||
|
||||
static struct ftdi_sio_quirk ftdi_stmclite_quirk = {
|
||||
.probe = ftdi_stmclite_probe,
|
||||
};
|
||||
|
||||
/*
|
||||
* The 8U232AM has the same API as the sio except for:
|
||||
* - it can support MUCH higher baudrates; up to:
|
||||
@@ -616,6 +621,7 @@ static struct usb_device_id id_table_combined [] = {
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_OCEANIC_PID) },
|
||||
{ USB_DEVICE(TTI_VID, TTI_QL355P_PID) },
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_RM_CANVIEW_PID) },
|
||||
{ USB_DEVICE(ACTON_VID, ACTON_SPECTRAPRO_PID) },
|
||||
{ USB_DEVICE(CONTEC_VID, CONTEC_COM1USBH_PID) },
|
||||
{ USB_DEVICE(BANDB_VID, BANDB_USOTL4_PID) },
|
||||
{ USB_DEVICE(BANDB_VID, BANDB_USTL4_PID) },
|
||||
@@ -810,6 +816,8 @@ static struct usb_device_id id_table_combined [] = {
|
||||
{ USB_DEVICE(FTDI_VID, FTDI_DOTEC_PID) },
|
||||
{ USB_DEVICE(QIHARDWARE_VID, MILKYMISTONE_JTAGSERIAL_PID),
|
||||
.driver_info = (kernel_ulong_t)&ftdi_jtag_quirk },
|
||||
{ USB_DEVICE(ST_VID, ST_STMCLT1030_PID),
|
||||
.driver_info = (kernel_ulong_t)&ftdi_stmclite_quirk },
|
||||
{ }, /* Optional parameter entry */
|
||||
{ } /* Terminating entry */
|
||||
};
|
||||
@@ -1708,6 +1716,25 @@ static int ftdi_jtag_probe(struct usb_serial *serial)
|
||||
return 0;
|
||||
}
|
||||
|
||||
/*
|
||||
* First and second port on STMCLiteadaptors is reserved for JTAG interface
|
||||
* and the forth port for pio
|
||||
*/
|
||||
static int ftdi_stmclite_probe(struct usb_serial *serial)
|
||||
{
|
||||
struct usb_device *udev = serial->dev;
|
||||
struct usb_interface *interface = serial->interface;
|
||||
|
||||
dbg("%s", __func__);
|
||||
|
||||
if (interface == udev->actconfig->interface[2])
|
||||
return 0;
|
||||
|
||||
dev_info(&udev->dev, "Ignoring serial port reserved for JTAG\n");
|
||||
|
||||
return -ENODEV;
|
||||
}
|
||||
|
||||
/*
|
||||
* The Matrix Orbital VK204-25-USB has an invalid IN endpoint.
|
||||
* We have to correct it if we want to read from it.
|
||||
|
@@ -517,6 +517,12 @@
|
||||
#define RATOC_VENDOR_ID 0x0584
|
||||
#define RATOC_PRODUCT_ID_USB60F 0xb020
|
||||
|
||||
/*
|
||||
* Acton Research Corp.
|
||||
*/
|
||||
#define ACTON_VID 0x0647 /* Vendor ID */
|
||||
#define ACTON_SPECTRAPRO_PID 0x0100
|
||||
|
||||
/*
|
||||
* Contec products (http://www.contec.com)
|
||||
* Submitted by Daniel Sangorrin
|
||||
@@ -1033,6 +1039,12 @@
|
||||
#define STB_PID 0x0001 /* Sensor Terminal Board */
|
||||
#define WHT_PID 0x0004 /* Wireless Handheld Terminal */
|
||||
|
||||
/*
|
||||
* STMicroelectonics
|
||||
*/
|
||||
#define ST_VID 0x0483
|
||||
#define ST_STMCLT1030_PID 0x3747 /* ST Micro Connect Lite STMCLT1030 */
|
||||
|
||||
/*
|
||||
* Papouch products (http://www.papouch.com/)
|
||||
* Submitted by Folkert van Heusden
|
||||
|
@@ -2889,8 +2889,8 @@ static void load_application_firmware(struct edgeport_serial *edge_serial)
|
||||
|
||||
dbg("%s %d.%d.%d", fw_info, rec->data[0], rec->data[1], build);
|
||||
|
||||
edge_serial->product_info.FirmwareMajorVersion = fw->data[0];
|
||||
edge_serial->product_info.FirmwareMinorVersion = fw->data[1];
|
||||
edge_serial->product_info.FirmwareMajorVersion = rec->data[0];
|
||||
edge_serial->product_info.FirmwareMinorVersion = rec->data[1];
|
||||
edge_serial->product_info.FirmwareBuildNumber = cpu_to_le16(build);
|
||||
|
||||
for (rec = ihex_next_binrec(rec); rec;
|
||||
|
@@ -369,9 +369,9 @@ failed_1port:
|
||||
|
||||
static void __exit ti_exit(void)
|
||||
{
|
||||
usb_deregister(&ti_usb_driver);
|
||||
usb_serial_deregister(&ti_1port_device);
|
||||
usb_serial_deregister(&ti_2port_device);
|
||||
usb_deregister(&ti_usb_driver);
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user