Skip to contentSkip to conversation

add support for 8 port lava octo cards to 8250_pci

PATCH Applied [email protected] 2 participants 2 messages Mar 24, 2003 PCI

lore
Share & tools
lore
#0 lore raw
drivers/serial/8250_pci.c +13 -0
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/serial/8250_pci.c linux-2.5/drivers/serial/8250_pci.c
@@ -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 },
drivers/pci/pci.ids +2 -0
diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/pci/pci.ids linux-2.5/drivers/pci/pci.ids
@@ -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
Applied
#1 lore raw

drivers/serial/8250_pci.c

Quoted 3 lines · On Mon, Mar 24, 2003 at 04:41:53PM +0000, [email protected] wrote:

diff -urpN --exclude-from=/home/davej/.exclude bk-linus/drivers/serial/8250_pci.c linux-2.5/drivers/serial/8250_pci.c

drivers/serial/8250_pci.c +0 -0

Thanks, Applied.

Signature · 2 lines
Russell King ([email protected])                The developer of ARM Linux
             http://www.arm.linux.org.uk/personal/aboutme.html