mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 18:51:56 -04:00
8250_pci: add IBM Saturn serial card
The IBM Saturn serial card has only one port. Without that fixup, the kernel thinks it has two, which confuses userland setup and admin tools as well. [[email protected]: fix pci-ids.h layout] Signed-off-by: Benjamin Herrenschmidt <[email protected]> Acked-by: Alan Cox <[email protected]> Cc: Michael Reed <[email protected]> Cc: <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
This commit is contained in:
parent
1b62cbf214
commit
c68d2b1594
2 changed files with 14 additions and 0 deletions
|
|
@ -1561,6 +1561,7 @@ enum pci_board_num_t {
|
|||
pbn_exar_XR17C152,
|
||||
pbn_exar_XR17C154,
|
||||
pbn_exar_XR17C158,
|
||||
pbn_exar_ibm_saturn,
|
||||
pbn_pasemi_1682M,
|
||||
pbn_ni8430_2,
|
||||
pbn_ni8430_4,
|
||||
|
|
@ -2150,6 +2151,13 @@ static struct pciserial_board pci_boards[] __devinitdata = {
|
|||
.base_baud = 921600,
|
||||
.uart_offset = 0x200,
|
||||
},
|
||||
[pbn_exar_ibm_saturn] = {
|
||||
.flags = FL_BASE0,
|
||||
.num_ports = 1,
|
||||
.base_baud = 921600,
|
||||
.uart_offset = 0x200,
|
||||
},
|
||||
|
||||
/*
|
||||
* PA Semi PWRficient PA6T-1682M on-chip UART
|
||||
*/
|
||||
|
|
@ -2684,6 +2692,9 @@ static struct pci_device_id serial_pci_tbl[] = {
|
|||
PCI_SUBVENDOR_ID_CONNECT_TECH,
|
||||
PCI_SUBDEVICE_ID_CONNECT_TECH_PCI_UART_8_485, 0, 0,
|
||||
pbn_b0_8_1843200_200 },
|
||||
{ PCI_VENDOR_ID_EXAR, PCI_DEVICE_ID_EXAR_XR17C152,
|
||||
PCI_VENDOR_ID_IBM, PCI_SUBDEVICE_ID_IBM_SATURN_SERIAL_ONE_PORT,
|
||||
0, 0, pbn_exar_ibm_saturn },
|
||||
|
||||
{ PCI_VENDOR_ID_SEALEVEL, PCI_DEVICE_ID_SEALEVEL_U530,
|
||||
PCI_ANY_ID, PCI_ANY_ID, 0, 0,
|
||||
|
|
|
|||
Loading…
Reference in a new issue