serial: add support for OX16PCI958 card
PATCH 1/1 serial: add support for OX16PCI958 card
From: Lytochkin Boris <[email protected]>
Signed-off-by Lytochkin Boris <[email protected]>
Tested-by Lytochkin Boris <[email protected]>
Signed-off-by Alexander Beregalov <[email protected]>
--- drivers/serial/8250_pci.c | 12 ++++++++++++ include/linux/pci_ids.h | 1 + 2 files changed, 13 insertions(+), 0 deletions(-)
drivers/serial/8250_pci.c +12 -0
@@ -1542,6 +1542,8 @@ enum pci_board_num_t { pbn_b2_4_921600, pbn_b2_8_921600, + pbn_b2_8_1152000, + pbn_b2_bt_1_115200, pbn_b2_bt_2_115200, pbn_b2_bt_4_115200,
@@ -1960,6 +1962,13 @@ static struct pciserial_board pci_boards[] __devinitdata = { .uart_offset = 8, }, + [pbn_b2_8_1152000] = { + .flags = FL_BASE2, + .num_ports = 8, + .base_baud = 1152000, + .uart_offset = 8, + }, + [pbn_b2_bt_1_115200] = { .flags = FL_BASE2|FL_BASE_BARS, .num_ports = 1,
@@ -2875,6 +2884,9 @@ static struct pci_device_id serial_pci_tbl[] = { {PCI_VENDOR_ID_OXSEMI ,PCI_DEVICE_ID_OXSEMI_16PCI952 ,PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , pbn_b0_bt_2_921600 }, + { PCI_VENDOR_ID_OXSEMI, PCI_DEVICE_ID_OXSEMI_16PCI958, +PCI_ANY_ID ,PCI_ANY_ID ,0 ,0 , + pbn_b2_8_1152000 },/* * Oxford Semiconductor Inc. Tornado PCI express device range.
include/linux/pci_ids.h +1 -0
@@ -1998,6 +1998,7 @@#define PCI_DEVICE_ID_OXSEMI_16PCI954PP 0x9513#define PCI_DEVICE_ID_OXSEMI_16PCI952 0x9521#define PCI_DEVICE_ID_OXSEMI_16PCI952PP 0x9523 +#define PCI_DEVICE_ID_OXSEMI_16PCI958 0x9538#define PCI_SUBDEVICE_ID_OXSEMI_C950 0x0001#define PCI_VENDOR_ID_CHELSIO 0x1425
Signature · 1 line
1.7.1.1
Quoted 8 lines · Alexander Beregalov
From: Lytochkin Boris <[email protected]>
Signed-off-by Lytochkin Boris <[email protected]>Tested-by Lytochkin Boris <[email protected]>Signed-off-by Alexander Beregalov <[email protected]>--- drivers/serial/8250_pci.c | 12 ++++++++++++ include/linux/pci_ids.h | 1 +
Please read the top of pci_ids.h for why we don't want to add new values there.
Care to fix that up and resend this?
thanks,
greg k-h