Skip to content

Commit a9cccd3

Browse files
Matthias FuchsLinus Torvalds
authored andcommitted
[PATCH] serial: support for new board
Add support for the CPCI-ASIO4 quad port CompactPCI UART board from electronic system design gmbh. Signed-off-by: Matthias Fuchs <matthias.fuchs@esd-electronics.com> Cc: Russell King <rmk@arm.linux.org.uk> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
1 parent 4821200 commit a9cccd3

2 files changed

Lines changed: 13 additions & 0 deletions

File tree

‎drivers/serial/8250_pci.c‎

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -943,6 +943,7 @@ enum pci_board_num_t {
943943

944944
pbn_b2_1_115200,
945945
pbn_b2_2_115200,
946+
pbn_b2_4_115200,
946947
pbn_b2_8_115200,
947948

948949
pbn_b2_1_460800,
@@ -1256,6 +1257,12 @@ static struct pciserial_board pci_boards[] __devinitdata = {
12561257
.base_baud = 115200,
12571258
.uart_offset = 8,
12581259
},
1260+
[pbn_b2_4_115200] = {
1261+
.flags = FL_BASE2,
1262+
.num_ports = 4,
1263+
.base_baud = 115200,
1264+
.uart_offset = 8,
1265+
},
12591266
[pbn_b2_8_115200] = {
12601267
.flags = FL_BASE2,
12611268
.num_ports = 8,
@@ -1997,6 +2004,10 @@ static struct pci_device_id serial_pci_tbl[] = {
19972004
{ PCI_VENDOR_ID_PANACOM, PCI_DEVICE_ID_PANACOM_DUALMODEM,
19982005
PCI_ANY_ID, PCI_ANY_ID, 0, 0,
19992006
pbn_panacom2 },
2007+
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9030,
2008+
PCI_VENDOR_ID_ESDGMBH,
2009+
PCI_DEVICE_ID_ESDGMBH_CPCIASIO4, 0, 0,
2010+
pbn_b2_4_115200 },
20002011
{ PCI_VENDOR_ID_PLX, PCI_DEVICE_ID_PLX_9050,
20012012
PCI_SUBVENDOR_ID_CHASE_PCIFAST,
20022013
PCI_SUBDEVICE_ID_CHASE_PCIFAST4, 0, 0,

‎include/linux/pci_ids.h‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1697,6 +1697,8 @@
16971697
#define PCI_VENDOR_ID_ELECTRONICDESIGNGMBH 0x12f8
16981698
#define PCI_DEVICE_ID_LML_33R10 0x8a02
16991699

1700+
#define PCI_VENDOR_ID_ESDGMBH 0x12fe
1701+
#define PCI_DEVICE_ID_ESDGMBH_CPCIASIO4 0x0111
17001702

17011703
#define PCI_VENDOR_ID_SIIG 0x131f
17021704
#define PCI_SUBVENDOR_ID_SIIG 0x131f

0 commit comments

Comments
 (0)