serial: 8250_pci: Add MKS Tenta SCOM-0800 and SCOM-0801 cards

am: c4c590be49

Change-Id: I82600c181818e85112ae82a97ed9820ca21b78ea
This commit is contained in:
Ian Abbott
2017-03-15 02:18:56 +00:00
committed by android-build-merger

View File

@@ -2688,6 +2688,8 @@ enum pci_board_num_t {
pbn_b0_4_1152000_200,
pbn_b0_8_1152000_200,
pbn_b0_4_1250000,
pbn_b0_2_1843200,
pbn_b0_4_1843200,
@@ -2919,6 +2921,13 @@ static struct pciserial_board pci_boards[] = {
.uart_offset = 0x200,
},
[pbn_b0_4_1250000] = {
.flags = FL_BASE0,
.num_ports = 4,
.base_baud = 1250000,
.uart_offset = 8,
},
[pbn_b0_2_1843200] = {
.flags = FL_BASE0,
.num_ports = 2,
@@ -5549,6 +5558,10 @@ static struct pci_device_id serial_pci_tbl[] = {
{ PCI_DEVICE(0x1c29, 0x1108), .driver_data = pbn_fintek_8 },
{ PCI_DEVICE(0x1c29, 0x1112), .driver_data = pbn_fintek_12 },
/* MKS Tenta SCOM-080x serial cards */
{ PCI_DEVICE(0x1601, 0x0800), .driver_data = pbn_b0_4_1250000 },
{ PCI_DEVICE(0x1601, 0xa801), .driver_data = pbn_b0_4_1250000 },
/*
* These entries match devices with class COMMUNICATION_SERIAL,
* COMMUNICATION_MODEM or COMMUNICATION_MULTISERIAL