]> git.ipfire.org Git - thirdparty/kernel/stable-queue.git/blame - releases/3.8.4/serial-8250_pci-add-support-for-another-kind-of-netmos-technology-pci-9835-multi-i-o-controller.patch
Linux 4.14.95
[thirdparty/kernel/stable-queue.git] / releases / 3.8.4 / serial-8250_pci-add-support-for-another-kind-of-netmos-technology-pci-9835-multi-i-o-controller.patch
CommitLineData
11fa2860
GKH
1From 8d2f8cd424ca0b99001f3ff4f5db87c4e525f366 Mon Sep 17 00:00:00 2001
2From: Wang YanQing <udknight@gmail.com>
3Date: Fri, 1 Mar 2013 11:47:20 +0800
4Subject: serial: 8250_pci: add support for another kind of NetMos Technology PCI 9835 Multi-I/O Controller
5
6From: Wang YanQing <udknight@gmail.com>
7
8commit 8d2f8cd424ca0b99001f3ff4f5db87c4e525f366 upstream.
9
1001:08.0 Communication controller: NetMos Technology PCI 9835 Multi-I/O Controller (rev 01)
11 Subsystem: Device [1000:0012]
12 Control: I/O+ Mem+ BusMaster- SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx-
13 Status: Cap- 66MHz- UDF- FastB2B+ ParErr- DEVSEL=medium >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx-
14 Interrupt: pin A routed to IRQ 20
15 Region 0: I/O ports at e050 [size=8]
16 Region 1: I/O ports at e040 [size=8]
17 Region 2: I/O ports at e030 [size=8]
18 Region 3: I/O ports at e020 [size=8]
19 Region 4: I/O ports at e010 [size=8]
20 Region 5: I/O ports at e000 [size=16]
21
22Signed-off-by: Wang YanQing <udknight@gmail.com>
23Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
24
25---
26 drivers/tty/serial/8250/8250_pci.c | 4 ++++
27 1 file changed, 4 insertions(+)
28
29--- a/drivers/tty/serial/8250/8250_pci.c
30+++ b/drivers/tty/serial/8250/8250_pci.c
31@@ -4449,6 +4449,10 @@ static struct pci_device_id serial_pci_t
32 PCI_VENDOR_ID_IBM, 0x0299,
33 0, 0, pbn_b0_bt_2_115200 },
34
35+ { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9835,
36+ 0x1000, 0x0012,
37+ 0, 0, pbn_b0_bt_2_115200 },
38+
39 { PCI_VENDOR_ID_NETMOS, PCI_DEVICE_ID_NETMOS_9901,
40 0xA000, 0x1000,
41 0, 0, pbn_b0_1_115200 },