Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[SERIAL] Add 8250 support for Decision Computer International Co. PCCOM2

There is a new device which is look like:

Serial controller: Decision Computer International Co. PCCOM2 (rev 02) (prog-if 02 [16550])
0700: 6666:0004 (rev 02) (prog-if 02)
Flags: medium devsel, IRQ 177
Memory at fe000000 (32-bit, non-prefetchable) [size=128]
I/O ports at e880 [size=128]
I/O ports at e400 [size=256]

It has two 16550A, and is not listed in kernel, although the
manufacturer clams that it is supported...

I've created the following patch, it only add the new PCI id and the
card to the repository, it seems to work.

Signed-off-by: Alon Bar-Lev <alon.barlev@gmail.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

authored by

Alon Bar-Lev and committed by
Russell King
d9004eb4 bc965a7f

+11
+10
drivers/serial/8250_pci.c
··· 940 940 pbn_b2_bt_2_921600, 941 941 pbn_b2_bt_4_921600, 942 942 943 + pbn_b3_2_115200, 943 944 pbn_b3_4_115200, 944 945 pbn_b3_8_115200, 945 946 ··· 1312 1311 .uart_offset = 8, 1313 1312 }, 1314 1313 1314 + [pbn_b3_2_115200] = { 1315 + .flags = FL_BASE3, 1316 + .num_ports = 2, 1317 + .base_baud = 115200, 1318 + .uart_offset = 8, 1319 + }, 1315 1320 [pbn_b3_4_115200] = { 1316 1321 .flags = FL_BASE3, 1317 1322 .num_ports = 4, ··· 2279 2272 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2280 2273 pbn_nec_nile4 }, 2281 2274 2275 + { PCI_VENDOR_ID_DCI, PCI_DEVICE_ID_DCI_PCCOM2, 2276 + PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2277 + pbn_b3_2_115200 }, 2282 2278 { PCI_VENDOR_ID_DCI, PCI_DEVICE_ID_DCI_PCCOM4, 2283 2279 PCI_ANY_ID, PCI_ANY_ID, 0, 0, 2284 2280 pbn_b3_4_115200 },
+1
include/linux/pci_ids.h
··· 1992 1992 #define PCI_VENDOR_ID_DCI 0x6666 1993 1993 #define PCI_DEVICE_ID_DCI_PCCOM4 0x0001 1994 1994 #define PCI_DEVICE_ID_DCI_PCCOM8 0x0002 1995 + #define PCI_DEVICE_ID_DCI_PCCOM2 0x0004 1995 1996 1996 1997 #define PCI_VENDOR_ID_INTEL 0x8086 1997 1998 #define PCI_DEVICE_ID_INTEL_EESSC 0x0008