summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2010-03-27 21:58:31 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2010-03-27 21:58:31 +0000
commit831b8077a2c5bc80a3a4f5dc6c50b22689ee988d (patch)
tree9f14adbc0a73a7b5667954e2fcd70a164d11d814
parentb0fa0d1cd4ae267ee9fa777253294e0dd4305191 (diff)
Add support for NetMos 9865 6-port serial cards.
From Alexander Frolkin.
-rw-r--r--sys/dev/pci/pucdata.c25
1 files changed, 24 insertions, 1 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index a5882143894..ef34cc12190 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pucdata.c,v 1.66 2009/11/23 02:06:38 yuo Exp $ */
+/* $OpenBSD: pucdata.c,v 1.67 2010/03/27 21:58:30 kettenis Exp $ */
/* $NetBSD: pucdata.c,v 1.6 1999/07/03 05:55:23 cgd Exp $ */
/*
@@ -1288,6 +1288,29 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /* NetMos 6S PCI 16C650 : 6S
+ * Shows up as three PCI devices, two with a single serial
+ * port and one with four serial ports (on a special ISA
+ * extender chip).
+ */
+ { /* "NetMos NM9865 6 UART: 1 UART" */
+ { PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9865, 0xa000, 0x1000 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ },
+ },
+ { /* "NetMos NM9865 6 UART: 4 UART ISA" */
+ { PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9865, 0xa000, 0x3004 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
+ },
+ },
+
/* NetMos PCIe Peripheral Controller :UART part */
{ /* "NetMos NM9901 UART" */
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0xa000, 0x1000 },