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.
This commit is contained in:
he 2011-03-11 20:22:53 +00:00
parent da53cb56df
commit c5abf7f984

View File

@ -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 },