add support for 8 port lava octo cards to 8250_pci

From: davej@codemonkey.org.uk
Date: Mon Mar 24 2003 - 11:41:53 EST


diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/serial/8250_pci.c linux-2.5/drivers/serial/8250_pci.c
--- bk-linus/drivers/serial/8250_pci.c 2003-03-16 14:16:04.000000000 +0000
+++ linux-2.5/drivers/serial/8250_pci.c 2003-03-17 23:42:35.000000000 +0000
@@ -897,6 +897,7 @@ enum pci_board_num_t {
 
         pbn_b0_bt_1_460800,
         pbn_b0_bt_2_460800,
+ pbn_b0_bt_4_460800,
 
         pbn_b0_bt_1_921600,
         pbn_b0_bt_2_921600,
@@ -1039,6 +1040,12 @@ static struct pci_board pci_boards[] __d
                 .base_baud = 460800,
                 .uart_offset = 8,
         },
+ [pbn_b0_bt_4_460800] = {
+ .flags = FL_BASE0|FL_BASE_BARS,
+ .num_ports = 4,
+ .base_baud = 460800,
+ .uart_offset = 8,
+ },
 
         [pbn_b0_bt_1_921600] = {
                 .flags = FL_BASE0|FL_BASE_BARS,
@@ -1928,6 +1935,12 @@ static struct pci_device_id serial_pci_t
         { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_QUATRO_B,
                 PCI_ANY_ID, PCI_ANY_ID, 0, 0,
                 pbn_b0_bt_2_115200 },
+ { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_A,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ pbn_b0_bt_4_460800 },
+ { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_OCTO_B,
+ PCI_ANY_ID, PCI_ANY_ID, 0, 0,
+ pbn_b0_bt_4_460800 },
         { PCI_VENDOR_ID_LAVA, PCI_DEVICE_ID_LAVA_PORT_PLUS,
                 PCI_ANY_ID, PCI_ANY_ID, 0, 0,
                 pbn_b0_bt_2_460800 },
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/pci/pci.ids linux-2.5/drivers/pci/pci.ids
--- bk-linus/drivers/pci/pci.ids 2003-03-17 12:40:51.000000000 +0000
+++ linux-2.5/drivers/pci/pci.ids 2003-03-17 13:09:03.000000000 +0000
@@ -4911,6 +4911,8 @@
         0100 Lava Dual Serial
         0101 Lava Quatro A
         0102 Lava Quatro B
+ 0180 Lava Octo A
+ 0181 Lava Octo B
         0200 Lava Port Plus
         0201 Lava Quad A
         0202 Lava Quad B
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Mon Mar 31 2003 - 22:00:16 EST