serial: 8250_pci: add device id for a kind of Multi-I/O Controller based on NetMos Technology PCI 9835
PATCH v2 1/1 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 1P2SI 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 <[email protected]>
---
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(+)
drivers/tty/serial/8250/8250_pci.c +4 -0
@@ -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 },
Signature · 1 line
1.7.12.4.dirty