Module Name:    src
Committed By:   he
Date:           Fri Mar 11 20:22:53 UTC 2011

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.70 -r1.71 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.70 src/sys/dev/pci/pucdata.c:1.71
--- src/sys/dev/pci/pucdata.c:1.70	Sun Feb 20 22:22:02 2011
+++ src/sys/dev/pci/pucdata.c	Fri Mar 11 20:22:53 2011
@@ -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 @@
 	    },
 	},
 
+	/*
+	 * 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 },

Reply via email to