[PATCH 2/6] tty: serial: 8250: Add 2 ports PCI configuration for 921600 BAR 2
From: Crescent Hsieh
Date: Fri Jun 07 2024 - 07:44:26 EST
In PCI configuration table, there are 1, 4, 8 ports for 921600 BAR 2
except 2 ports.
This patch adds 2 ports PCI configuration for 921600 BAR 2.
Signed-off-by: Crescent Hsieh <crescentcy.hsieh@xxxxxxxx>
---
drivers/tty/serial/8250/8250_pci.c | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
index 4e88ee07e548..4964cb9ccaa0 100644
--- a/drivers/tty/serial/8250/8250_pci.c
+++ b/drivers/tty/serial/8250/8250_pci.c
@@ -3043,6 +3043,7 @@ enum pci_board_num_t {
pbn_b2_16_460800,
pbn_b2_1_921600,
+ pbn_b2_2_921600,
pbn_b2_4_921600,
pbn_b2_8_921600,
@@ -3462,6 +3463,12 @@ static struct pciserial_board pci_boards[] = {
.base_baud = 921600,
.uart_offset = 8,
},
+ [pbn_b2_2_921600] = {
+ .flags = FL_BASE2,
+ .num_ports = 2,
+ .base_baud = 921600,
+ .uart_offset = 8,
+ },
[pbn_b2_4_921600] = {
.flags = FL_BASE2,
.num_ports = 4,
--
2.34.1