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 Quad UART.
details: https://anonhg.NetBSD.org/src/rev/2004bb8802f7
branches: trunk
changeset: 746218:2004bb8802f7
user: ryo <ryo%NetBSD.org@localhost>
date: Tue Mar 24 18:09:07 2020 +0000
description:
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.
diffstat:
sys/dev/pci/pucdata.c | 13 +++++++++++--
1 files changed, 11 insertions(+), 2 deletions(-)
diffs (34 lines):
diff -r 07d6cf46da82 -r 2004bb8802f7 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c Tue Mar 24 17:38:33 2020 +0000
+++ b/sys/dev/pci/pucdata.c Tue Mar 24 18:09:07 2020 +0000
@@ -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 @@
},
},
+ /* 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 },
Home |
Main Index |
Thread Index |
Old Index