Skip to contentSkip to conversation

tty/8250: pbn_b0_8_1152000_200 is supposed to be an 8 port definition

PATCH New [email protected] 1 participant 2 messages Dec 7, 2012 TTY layer and serial drivers

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/2 tty/8250: pbn_b0_8_1152000_200 is supposed to be an 8 port definition

From: Matt Schulte <[email protected]>

tty/8250: pbn_b0_8_1152000_200 is supposed to be an 8 port definition

---
Built against tty-next commit: b0ab02361167faa82198b783a8d555eb6f58901c

v2: Reorder define in patch 2 as requested by Alan

 drivers/tty/serial/8250/8250_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/tty/serial/8250/8250_pci.c +1 -1
index 26b9dc0..bf2f1a0 100644
@@ -2246,7 +2246,7 @@ static struct pciserial_board pci_boards[] = {
 
 	[pbn_b0_8_1152000_200] = {
 		.flags		= FL_BASE0,
-		.num_ports	= 2,
+		.num_ports	= 8,
 		.base_baud	= 1152000,
 		.uart_offset	= 0x200,
 	},
Signature · 1 line
1.7.2.5
#1 lore raw

PATCH v2 2/2 tty/8250: The correct device id for this card is 0x0022

From: Matt Schulte <[email protected]>

The correct device id for this card is 0x0022

---
Built against tty-next commit: b0ab02361167faa82198b783a8d555eb6f58901c

v2: Reorder define in patch 2 as requested by Alan

 drivers/tty/serial/8250/8250_pci.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/tty/serial/8250/8250_pci.c +1 -1
index bf2f1a0..8a2c3d9 100644
@@ -1301,9 +1301,9 @@ pci_wch_ch353_setup(struct serial_private *priv,
 #define PCI_VENDOR_ID_AGESTAR		0x5372
 #define PCI_DEVICE_ID_AGESTAR_9375	0x6872
 #define PCI_VENDOR_ID_ASIX		0x9710
-#define PCI_DEVICE_ID_COMMTECH_4222PCIE 0x0019
 #define PCI_DEVICE_ID_COMMTECH_4224PCIE	0x0020
 #define PCI_DEVICE_ID_COMMTECH_4228PCIE	0x0021
+#define PCI_DEVICE_ID_COMMTECH_4222PCIE	0x0022
 
 
 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */
Signature · 1 line
1.7.2.5