forked from torvalds/linux
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
serial: add ADDI-DATA GmbH PCI-Express communication cards in 8250_pc…
…i.c and pci_ids.h Add support for ADDI-DATA GmbH PCI-Express communication cards: APCIe-7300 APCIe-7420 APCIe-7500 APCIe-7800 Warning: 8250_pci.c depends on pci_ids.h. 8250_pci.c Signed-off-by: Krauth Julien <[email protected]> Acked-by: Alan Cox <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information
Showing
2 changed files
with
71 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -1566,6 +1566,10 @@ enum pci_board_num_t { | |
pbn_ni8430_4, | ||
pbn_ni8430_8, | ||
pbn_ni8430_16, | ||
pbn_ADDIDATA_PCIe_1_3906250, | ||
pbn_ADDIDATA_PCIe_2_3906250, | ||
pbn_ADDIDATA_PCIe_4_3906250, | ||
pbn_ADDIDATA_PCIe_8_3906250, | ||
}; | ||
|
||
/* | ||
|
@@ -2185,6 +2189,37 @@ static struct pciserial_board pci_boards[] __devinitdata = { | |
.uart_offset = 0x10, | ||
.first_offset = 0x800, | ||
}, | ||
/* | ||
* ADDI-DATA GmbH PCI-Express communication cards <[email protected]> | ||
*/ | ||
[pbn_ADDIDATA_PCIe_1_3906250] = { | ||
.flags = FL_BASE0, | ||
.num_ports = 1, | ||
.base_baud = 3906250, | ||
.uart_offset = 0x200, | ||
.first_offset = 0x1000, | ||
}, | ||
[pbn_ADDIDATA_PCIe_2_3906250] = { | ||
.flags = FL_BASE0, | ||
.num_ports = 2, | ||
.base_baud = 3906250, | ||
.uart_offset = 0x200, | ||
.first_offset = 0x1000, | ||
}, | ||
[pbn_ADDIDATA_PCIe_4_3906250] = { | ||
.flags = FL_BASE0, | ||
.num_ports = 4, | ||
.base_baud = 3906250, | ||
.uart_offset = 0x200, | ||
.first_offset = 0x1000, | ||
}, | ||
[pbn_ADDIDATA_PCIe_8_3906250] = { | ||
.flags = FL_BASE0, | ||
.num_ports = 8, | ||
.base_baud = 3906250, | ||
.uart_offset = 0x200, | ||
.first_offset = 0x1000, | ||
}, | ||
}; | ||
|
||
static const struct pci_device_id softmodem_blacklist[] = { | ||
|
@@ -3556,6 +3591,38 @@ static struct pci_device_id serial_pci_tbl[] = { | |
0, | ||
pbn_b0_8_115200 }, | ||
|
||
{ PCI_VENDOR_ID_ADDIDATA, | ||
PCI_DEVICE_ID_ADDIDATA_APCIe7500, | ||
PCI_ANY_ID, | ||
PCI_ANY_ID, | ||
0, | ||
0, | ||
pbn_ADDIDATA_PCIe_4_3906250 }, | ||
|
||
{ PCI_VENDOR_ID_ADDIDATA, | ||
PCI_DEVICE_ID_ADDIDATA_APCIe7420, | ||
PCI_ANY_ID, | ||
PCI_ANY_ID, | ||
0, | ||
0, | ||
pbn_ADDIDATA_PCIe_2_3906250 }, | ||
|
||
{ PCI_VENDOR_ID_ADDIDATA, | ||
PCI_DEVICE_ID_ADDIDATA_APCIe7300, | ||
PCI_ANY_ID, | ||
PCI_ANY_ID, | ||
0, | ||
0, | ||
pbn_ADDIDATA_PCIe_1_3906250 }, | ||
|
||
{ PCI_VENDOR_ID_ADDIDATA, | ||
PCI_DEVICE_ID_ADDIDATA_APCIe7800, | ||
PCI_ANY_ID, | ||
PCI_ANY_ID, | ||
0, | ||
0, | ||
pbn_ADDIDATA_PCIe_8_3906250 }, | ||
|
||
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835, | ||
PCI_VENDOR_ID_IBM, 0x0299, | ||
0, 0, pbn_b0_bt_2_115200 }, | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters