Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/dev/pci add NetMos NM9912 entries



details:   https://anonhg.NetBSD.org/src/rev/876cbe62e6cb
branches:  trunk
changeset: 450992:876cbe62e6cb
user:      jdolecek <jdolecek%NetBSD.org@localhost>
date:      Thu May 02 21:33:12 2019 +0000

description:
add NetMos NM9912 entries

PR kern/54149 by Mouse

diffstat:

 sys/dev/pci/pucdata.c |  21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r c5a2c0b74b9d -r 876cbe62e6cb sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Thu May 02 17:34:01 2019 +0000
+++ b/sys/dev/pci/pucdata.c     Thu May 02 21:33:12 2019 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.103 2018/11/29 23:53:44 jmcneill Exp $   */
+/*     $NetBSD: pucdata.c,v 1.104 2019/05/02 21:33:12 jdolecek Exp $   */
 
 /*
  * Copyright (c) 1998, 1999 Christopher G. Demetriou.  All rights reserved.
@@ -36,7 +36,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.103 2018/11/29 23:53:44 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.104 2019/05/02 21:33:12 jdolecek Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -1010,6 +1010,23 @@
            },
        },
 
+       /* NetMos PCIe NM9912 */
+       { "NetMos NM9912 Dual PCI-E UART and 1284 Printer Port",
+           {   PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9912, 0, 0x1000 },
+           {   0xffff, 0xffff, 0, 0xffff },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x0000, 0 },
+           },
+       },
+
+       { "NetMos NM9912 Dual PCI-E UART and 1284 Printer Port",
+           {   PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9912, 0, 0x2000 },
+           {   0xffff, 0xffff, 0, 0xffff },
+           {
+               { PUC_PORT_TYPE_LPT, 0x10, 0x0000, 0 },
+           },
+       },
+
        /* NetMos PCIe NM9922 (PCI multi function): 2S */
        {   "NetMos NM9922 UART",
            {   PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9922, 0, 0 },



Home | Main Index | Thread Index | Old Index