Module Name: src
Committed By: ryo
Date: Sun Apr 5 10:43:09 UTC 2020
Modified Files:
src/sys/dev/pci: pucdata.c
Log Message:
add entry for NetMos NM9900 Octa UART
notice: On the boards I've obtained, the number on the cable stamp
doesn't match the actual unit number of the attached device.
Cable's 0,1,2,..,7 corresponds to comN+0,2,4,6,1,3,5,7 :-(
To generate a diff of this commit:
cvs rdiff -u -r1.106 -r1.107 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.106 src/sys/dev/pci/pucdata.c:1.107
--- src/sys/dev/pci/pucdata.c:1.106 Tue Mar 24 18:09:07 2020
+++ src/sys/dev/pci/pucdata.c Sun Apr 5 10:43:09 2020
@@ -1,4 +1,4 @@
-/* $NetBSD: pucdata.c,v 1.106 2020/03/24 18:09:07 ryo Exp $ */
+/* $NetBSD: pucdata.c,v 1.107 2020/04/05 10:43:09 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.106 2020/03/24 18:09:07 ryo Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.107 2020/04/05 10:43:09 ryo Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -992,6 +992,16 @@ const struct puc_device_description puc_
},
},
+ /* NetMos PCIe NM9900 : 8S */
+ { "NetMos NM9900 UART 8S",
+ { PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9900, 0xa000, 0x3002 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, PCI_BAR0, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, PCI_BAR3, 0x00, COM_FREQ },
+ },
+ },
+
/* NetMos PCIe Peripheral Controller :UART part */
{ "NetMos NM9901 UART",
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0xa000, 0x1000 },