[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20130305154448.GA7842@udknight>
Date: Tue, 5 Mar 2013 23:44:48 +0800
From: Wang YanQing <udknight@...il.com>
To: gregkh@...uxfoundation.org
Cc: paul.gortmaker@...driver.com, swarren@...dotorg.org,
jslaby@...e.cz, alan@...ux.intel.com, arnd@...db.de,
damm@...nsource.se, linux-serial@...r.kernel.org,
linux-kernel@...r.kernel.org
Subject: [PATCH v2]serial: 8250_pci: add device id for a kind of Multi-I/O
Controller based on NetMos Technology PCI 9835
I get a Multi-I/O Controller below:
01:08.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
Subsystem: LSI Logic / Symbios Logic 1P2S
Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
Interrupt: pin A routed to IRQ 20
Region 0: I/O ports at e050 [size=8]
Region 1: I/O ports at e040 [size=8]
Region 2: I/O ports at e030 [size=8]
Region 3: I/O ports at e020 [size=8]
Region 4: I/O ports at e010 [size=8]
Region 5: I/O ports at e000 [size=16]
I get below from pci.ids:
9710 NetMos Technology
9835 PCI 9835 Multi-I/O Controller
1000 0002 2S (16C550 UART)
1000 0012 1P2S
I have tested 8250_pci.c, it works well with it,
so we just need add the device id to the deivce
id table.
Signed-off-by: Wang YanQing <udknight@...il.com>
---
Changes:
V1-V2:
1: use a better descriptive subject
2: add more detail log
Thanks
drivers/tty/serial/8250/8250_pci.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/drivers/tty/serial/8250/8250_pci.c b/drivers/tty/serial/8250/8250_pci.c
index 5805f89..2120840 100644
--- a/drivers/tty/serial/8250/8250_pci.c
+++ b/drivers/tty/serial/8250/8250_pci.c
@@ -4800,6 +4800,10 @@ static struct pci_device_id serial_pci_tbl[] = {
PCI_VENDOR_ID_IBM, 0x0299,
0, 0, pbn_b0_bt_2_115200 },
+ { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835,
+ 0x1000, 0x0012,
+ 0, 0, pbn_b0_bt_2_115200 },
+
{ PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9901,
0xA000, 0x1000,
0, 0, pbn_b0_1_115200 },
--
1.7.12.4.dirty
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists