diff options
Diffstat (limited to 'drivers/serial/8250_pci.c')
| -rw-r--r-- | drivers/serial/8250_pci.c | 86 |
1 files changed, 85 insertions, 1 deletions
diff --git a/drivers/serial/8250_pci.c b/drivers/serial/8250_pci.c index e7108e75653d..b28af13c45a1 100644 --- a/drivers/serial/8250_pci.c +++ b/drivers/serial/8250_pci.c | |||
| @@ -1561,11 +1561,16 @@ enum pci_board_num_t { | |||
| 1561 | pbn_exar_XR17C152, | 1561 | pbn_exar_XR17C152, |
| 1562 | pbn_exar_XR17C154, | 1562 | pbn_exar_XR17C154, |
| 1563 | pbn_exar_XR17C158, | 1563 | pbn_exar_XR17C158, |
| 1564 | pbn_exar_ibm_saturn, | ||
| 1564 | pbn_pasemi_1682M, | 1565 | pbn_pasemi_1682M, |
| 1565 | pbn_ni8430_2, | 1566 | pbn_ni8430_2, |
| 1566 | pbn_ni8430_4, | 1567 | pbn_ni8430_4, |
| 1567 | pbn_ni8430_8, | 1568 | pbn_ni8430_8, |
| 1568 | pbn_ni8430_16, | 1569 | pbn_ni8430_16, |
| 1570 | pbn_ADDIDATA_PCIe_1_3906250, | ||
| 1571 | pbn_ADDIDATA_PCIe_2_3906250, | ||
| 1572 | pbn_ADDIDATA_PCIe_4_3906250, | ||
| 1573 | pbn_ADDIDATA_PCIe_8_3906250, | ||
| 1569 | }; | 1574 | }; |
| 1570 | 1575 | ||
| 1571 | /* | 1576 | /* |
| @@ -2146,6 +2151,13 @@ static struct pciserial_board pci_boards[] __devinitdata = { | |||
| 2146 | .base_baud = 921600, | 2151 | .base_baud = 921600, |
| 2147 | .uart_offset = 0x200, | 2152 | .uart_offset = 0x200, |
| 2148 | }, | 2153 | }, |
| 2154 | [pbn_exar_ibm_saturn] = { | ||
| 2155 | .flags = FL_BASE0, | ||
| 2156 | .num_ports = 1, | ||
| 2157 | .base_baud = 921600, | ||
| 2158 | .uart_offset = 0x200, | ||
| 2159 | }, | ||
| 2160 | |||
| 2149 | /* | 2161 | /* |
| 2150 | * PA Semi PWRficient PA6T-1682M on-chip UART | 2162 | * PA Semi PWRficient PA6T-1682M on-chip UART |
| 2151 | */ | 2163 | */ |
| @@ -2185,6 +2197,37 @@ static struct pciserial_board pci_boards[] __devinitdata = { | |||
| 2185 | .uart_offset = 0x10, | 2197 | .uart_offset = 0x10, |
| 2186 | .first_offset = 0x800, | 2198 | .first_offset = 0x800, |
| 2187 | }, | 2199 | }, |
| 2200 | /* | ||
| 2201 | * ADDI-DATA GmbH PCI-Express communication cards <info@addi-data.com> | ||
| 2202 | */ | ||
| 2203 | [pbn_ADDIDATA_PCIe_1_3906250] = { | ||
| 2204 | .flags = FL_BASE0, | ||
| 2205 | .num_ports = 1, | ||
| 2206 | .base_baud = 3906250, | ||
| 2207 | .uart_offset = 0x200, | ||
| 2208 | .first_offset = 0x1000, | ||
| 2209 | }, | ||
| 2210 | [pbn_ADDIDATA_PCIe_2_3906250] = { | ||
| 2211 | .flags = FL_BASE0, | ||
| 2212 | .num_ports = 2, | ||
| 2213 | .base_baud = 3906250, | ||
| 2214 | .uart_offset = 0x200, | ||
| 2215 | .first_offset = 0x1000, | ||
| 2216 | }, | ||
| 2217 | [pbn_ADDIDATA_PCIe_4_3906250] = { | ||
| 2218 | .flags = FL_BASE0, | ||
| 2219 | .num_ports = 4, | ||
| 2220 | .base_baud = 3906250, | ||
| 2221 | .uart_offset = 0x200, | ||
| 2222 | .first_offset = 0x1000, | ||
| 2223 | }, | ||
| 2224 | [pbn_ADDIDATA_PCIe_8_3906250] = { | ||
| 2225 | .flags = FL_BASE0, | ||
| 2226 | .num_ports = 8, | ||
| 2227 | .base_baud = 3906250, | ||
| 2228 | .uart_offset = 0x200, | ||
| 2229 | .first_offset = 0x1000, | ||
| 2230 | }, | ||
| 2188 | }; | 2231 | }; |
| 2189 | 2232 | ||
| 2190 | static const struct pci_device_id softmodem_blacklist[] = { | 2233 | static const struct pci_device_id softmodem_blacklist[] = { |
| @@ -2340,7 +2383,7 @@ pciserial_init_ports(struct pci_dev *dev, const struct pciserial_board *board) | |||
| 2340 | break; | 2383 | break; |
| 2341 | 2384 | ||
| 2342 | #ifdef SERIAL_DEBUG_PCI | 2385 | #ifdef SERIAL_DEBUG_PCI |
| 2343 | printk(KERN_DEBUG "Setup PCI port: port %x, irq %d, type %d\n", | 2386 | printk(KERN_DEBUG "Setup PCI port: port %lx, irq %d, type %d\n", |
| 2344 | serial_port.iobase, serial_port.irq, serial_port.iotype); | 2387 | serial_port.iobase, serial_port.irq, serial_port.iotype); |
| 2345 | #endif | 2388 | #endif |
| 2346 | 2389 | ||
| @@ -2649,6 +2692,9 @@ static struct pci_device_id serial_pci_tbl[] = { | |||
| 2649 | PCI_SUBVENDOR_ID_CONNECT_TECH, | 2692 | PCI_SUBVENDOR_ID_CONNECT_TECH, |
| 2650 | PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_485, 0, 0, | 2693 | PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_485, 0, 0, |
| 2651 | pbn_b0_8_1843200_200 }, | 2694 | pbn_b0_8_1843200_200 }, |
| 2695 | { PCI_VENDOR_ID_EXAR, PCI_DEVICE_ID_EXAR_XR17C152, | ||
| 2696 | PCI_VENDOR_ID_IBM, PCI_SUBDEVICE_ID_IBM_SATURN_SERIAL_ONE_PORT, | ||
| 2697 | 0, 0, pbn_exar_ibm_saturn }, | ||
| 2652 | 2698 | ||
| 2653 | { PCI_VENDOR_ID_SEALEVEL, PCI_DEVICE_ID_SEALEVEL_U530, | 2699 | { PCI_VENDOR_ID_SEALEVEL, PCI_DEVICE_ID_SEALEVEL_U530, |
| 2654 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 2700 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
| @@ -3093,6 +3139,12 @@ static struct pci_device_id serial_pci_tbl[] = { | |||
| 3093 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATRO_B, | 3139 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATRO_B, |
| 3094 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 3140 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
| 3095 | pbn_b0_bt_2_115200 }, | 3141 | pbn_b0_bt_2_115200 }, |
| 3142 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATTRO_A, | ||
| 3143 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | ||
| 3144 | pbn_b0_bt_2_115200 }, | ||
| 3145 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATTRO_B, | ||
| 3146 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | ||
| 3147 | pbn_b0_bt_2_115200 }, | ||
| 3096 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A, | 3148 | { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A, |
| 3097 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, | 3149 | PCI_ANY_ID, PCI_ANY_ID, 0, 0, |
| 3098 | pbn_b0_bt_4_460800 }, | 3150 | pbn_b0_bt_4_460800 }, |
| @@ -3556,6 +3608,38 @@ static struct pci_device_id serial_pci_tbl[] = { | |||
| 3556 | 0, | 3608 | 0, |
| 3557 | pbn_b0_8_115200 }, | 3609 | pbn_b0_8_115200 }, |
| 3558 | 3610 | ||
| 3611 | { PCI_VENDOR_ID_ADDIDATA, | ||
| 3612 | PCI_DEVICE_ID_ADDIDATA_APCIe7500, | ||
| 3613 | PCI_ANY_ID, | ||
| 3614 | PCI_ANY_ID, | ||
| 3615 | 0, | ||
| 3616 | 0, | ||
| 3617 | pbn_ADDIDATA_PCIe_4_3906250 }, | ||
| 3618 | |||
| 3619 | { PCI_VENDOR_ID_ADDIDATA, | ||
| 3620 | PCI_DEVICE_ID_ADDIDATA_APCIe7420, | ||
| 3621 | PCI_ANY_ID, | ||
| 3622 | PCI_ANY_ID, | ||
| 3623 | 0, | ||
| 3624 | 0, | ||
| 3625 | pbn_ADDIDATA_PCIe_2_3906250 }, | ||
| 3626 | |||
| 3627 | { PCI_VENDOR_ID_ADDIDATA, | ||
| 3628 | PCI_DEVICE_ID_ADDIDATA_APCIe7300, | ||
| 3629 | PCI_ANY_ID, | ||
| 3630 | PCI_ANY_ID, | ||
| 3631 | 0, | ||
| 3632 | 0, | ||
| 3633 | pbn_ADDIDATA_PCIe_1_3906250 }, | ||
| 3634 | |||
| 3635 | { PCI_VENDOR_ID_ADDIDATA, | ||
| 3636 | PCI_DEVICE_ID_ADDIDATA_APCIe7800, | ||
| 3637 | PCI_ANY_ID, | ||
| 3638 | PCI_ANY_ID, | ||
| 3639 | 0, | ||
| 3640 | 0, | ||
| 3641 | pbn_ADDIDATA_PCIe_8_3906250 }, | ||
| 3642 | |||
| 3559 | { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835, | 3643 | { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835, |
| 3560 | PCI_VENDOR_ID_IBM, 0x0299, | 3644 | PCI_VENDOR_ID_IBM, 0x0299, |
| 3561 | 0, 0, pbn_b0_bt_2_115200 }, | 3645 | 0, 0, pbn_b0_bt_2_115200 }, |
