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 entry for NetMos NM9900 Octa UART
details: https://anonhg.NetBSD.org/src/rev/769e02b7acee
branches: trunk
changeset: 1008900:769e02b7acee
user: ryo <ryo%NetBSD.org@localhost>
date: Sun Apr 05 10:43:09 2020 +0000
description:
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 :-(
diffstat:
sys/dev/pci/pucdata.c | 14 ++++++++++++--
1 files changed, 12 insertions(+), 2 deletions(-)
diffs (35 lines):
diff -r e17cfbfba79b -r 769e02b7acee sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c Sun Apr 05 05:19:24 2020 +0000
+++ b/sys/dev/pci/pucdata.c Sun Apr 05 10:43:09 2020 +0000
@@ -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 @@
},
},
+ /* 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 },
Home |
Main Index |
Thread Index |
Old Index