Module Name: src
Committed By: jdolecek
Date: Thu May 2 21:33:12 UTC 2019
Modified Files:
src/sys/dev/pci: pucdata.c
Log Message:
add NetMos NM9912 entries
PR kern/54149 by Mouse
To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/sys/dev/pci/pucdata.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/dev/pci/pucdata.c
diff -u src/sys/dev/pci/pucdata.c:1.103 src/sys/dev/pci/pucdata.c:1.104
--- src/sys/dev/pci/pucdata.c:1.103 Thu Nov 29 23:53:44 2018
+++ src/sys/dev/pci/pucdata.c Thu May 2 21:33:12 2019
@@ -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 @@ const struct puc_device_description puc_
},
},
+ /* 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 },