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 two NetMos NM9865 1-port and 2-port controll...



details:   https://anonhg.NetBSD.org/src/rev/0936a297117c
branches:  trunk
changeset: 763164:0936a297117c
user:      he <he%NetBSD.org@localhost>
date:      Fri Mar 11 20:22:53 2011 +0000

description:
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:

 sys/dev/pci/pucdata.c |  24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diffs (45 lines):

diff -r 0a414d8e28e4 -r 0936a297117c sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Fri Mar 11 19:51:10 2011 +0000
+++ b/sys/dev/pci/pucdata.c     Fri Mar 11 20:22:53 2011 +0000
@@ -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 },



Home | Main Index | Thread Index | Old Index