summaryrefslogtreecommitdiff
path: root/sys/dev/pci/pucdata.c
diff options
context:
space:
mode:
authorhe <he@NetBSD.org>2011-03-11 20:22:53 +0000
committerhe <he@NetBSD.org>2011-03-11 20:22:53 +0000
commit112ac2c20b827ee74faabf4eeaa44ca4331b60d5 (patch)
treed406d242baf83634c9597d3a4b800c414c40f9b3 /sys/dev/pci/pucdata.c
parent7f22b208a2940a6846db16aa294d161c3f560be1 (diff)
Add two NetMos NM9865 1-port and 2-port controllers, as found in
2x and 1x on a 4-port card sold as Sunsway/ST Lab I-430.
Diffstat (limited to 'sys/dev/pci/pucdata.c')
-rw-r--r--sys/dev/pci/pucdata.c24
1 files changed, 22 insertions, 2 deletions
diff --git a/sys/dev/pci/pucdata.c b/sys/dev/pci/pucdata.c
index ec9ec21be24..47bf1bf3ce0 100644
--- a/sys/dev/pci/pucdata.c
+++ b/sys/dev/pci/pucdata.c
@@ -1,4 +1,4 @@
-/* $NetBSD: pucdata.c,v 1.70 2011/02/20 22:22:02 msaitoh Exp $ */
+/* $NetBSD: pucdata.c,v 1.71 2011/03/11 20:22:53 he 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.70 2011/02/20 22:22:02 msaitoh Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.71 2011/03/11 20:22:53 he Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -906,6 +906,26 @@ const struct puc_device_description puc_devices[] = {
},
},
+ /*
+ * Two 1-port and one 2-port found on a 4-port
+ * card sold as Sunsway/ST Lab I-430.
+ */
+ { "NetMos NM9865 1S",
+ { 0x9710, 0x9865, 0xa000, 0x1000 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ },
+ },
+ { "NetMos NM9865 2S",
+ { 0x9710, 0x9865, 0xa000, 0x3002 },
+ { 0xffff, 0xffff, 0xffff, 0xffff },
+ {
+ { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
+ { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
+ },
+ },
+
/* NetMos PCIe Peripheral Controller :UART part */
{ "NetMos NM9901 UART",
{ PCI_VENDOR_NETMOS, PCI_PRODUCT_NETMOS_NM9901, 0xa000, 0x1000 },