Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/netbsd-1-6]: src/sys/dev/pci Pull up revision 1.28 (requested by lukem i...



details:   https://anonhg.NetBSD.org/src/rev/02e7e8cafd94
branches:  netbsd-1-6
changeset: 527863:02e7e8cafd94
user:      lukem <lukem%NetBSD.org@localhost>
date:      Tue Jun 11 01:32:11 2002 +0000

description:
Pull up revision 1.28 (requested by lukem in ticket #167):
Support  NetMos NM9845 Quad UART and 1284 Printer port.
All 4 serial ports and parallel port seem to work.

diffstat:

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

diffs (38 lines):

diff -r c71293fd050e -r 02e7e8cafd94 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Tue Jun 11 01:30:12 2002 +0000
+++ b/sys/dev/pci/pucdata.c     Tue Jun 11 01:32:11 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.27 2002/05/13 09:19:57 hannken Exp $     */
+/*     $NetBSD: pucdata.c,v 1.27.4.1 2002/06/11 01:32:11 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.27.4.1 2002/06/11 01:32:11 lukem Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -795,6 +795,19 @@
            },
        },
 
+       /* 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.



Home | Main Index | Thread Index | Old Index