Support NetMos NM9845 Quad UART and 1284 Printer port.

All 4 serial ports and parallel port seem to work.
This commit is contained in:
lukem 2002-05-24 12:07:46 +00:00
parent 863d1b7956
commit 36bbd51aa2

View File

@ -1,4 +1,4 @@
/* $NetBSD: pucdata.c,v 1.27 2002/05/13 09:19:57 hannken Exp $ */
/* $NetBSD: pucdata.c,v 1.28 2002/05/24 12:07:46 lukem 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.27 2002/05/13 09:19:57 hannken Exp $");
__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.28 2002/05/24 12:07:46 lukem Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@ -795,6 +795,19 @@ const struct puc_device_description puc_devices[] = {
},
},
/* NetMos 4S1P PCI NM9845 : 4S, 1P */
{ "NetMos NM9845 Quad UART and 1284 Printer port",
{ 0x9710, 0x9845, 0, 0 },
{ 0xffff, 0xffff, 0, 0 },
{
{ PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
{ PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ * 4 },
{ PUC_PORT_TYPE_LPT, 0x20, 0x00, 0x00 },
},
},
/*
* This is the Middle Digital, Inc. PCI-Weasel, which
* uses a PCI interface implemented in FPGA.