Module Name:    src
Committed By:   ryo
Date:           Tue Mar 24 18:09:07 UTC 2020

Modified Files:
        src/sys/dev/pci: pucdata.c

Log Message:
add entry for NetMos NM9900 Quad UART.

The NM9900 seems to have variations such as 4UART and 2UART+1Printer,
but I tested on 4UART board.


To generate a diff of this commit:
cvs rdiff -u -r1.105 -r1.106 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.105 src/sys/dev/pci/pucdata.c:1.106
--- src/sys/dev/pci/pucdata.c:1.105	Thu Nov 14 08:49:48 2019
+++ src/sys/dev/pci/pucdata.c	Tue Mar 24 18:09:07 2020
@@ -1,4 +1,4 @@
-/*	$NetBSD: pucdata.c,v 1.105 2019/11/14 08:49:48 hauke Exp $	*/
+/*	$NetBSD: pucdata.c,v 1.106 2020/03/24 18:09:07 ryo 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.105 2019/11/14 08:49:48 hauke Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.106 2020/03/24 18:09:07 ryo Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -983,6 +983,15 @@ const struct puc_device_description puc_
 	    },
 	},
 
+	/* NetMos PCIe NM9900 : 4S */
+	{   "NetMos NM9900 UART",
+	    {	PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9900, 0xa000, 0x1000 },
+	    {	0xffff,	0xffff,				      0xffff, 0xffff },
+	    {
+		{ PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ },
+	    },
+	},
+
 	/* NetMos PCIe Peripheral Controller :UART part */
 	{   "NetMos NM9901 UART",
 	    {   PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0xa000, 0x1000 },

Reply via email to