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 entry for Dolphin Peripherals 4036 dual-se...



details:   https://anonhg.NetBSD.org/src/rev/163a0334cfa8
branches:  trunk
changeset: 518183:163a0334cfa8
user:      jonathan <jonathan%NetBSD.org@localhost>
date:      Mon Nov 26 00:41:24 2001 +0000

description:
* Add entry for Dolphin Peripherals 4036 dual-serial card.
  (Note: PCI ID conflicts with Dolphin Peripherals 4025; a 4025 may
   attach two serial units, but I cannot find one to test).

diffstat:

 sys/dev/pci/pucdata.c |  19 ++++++++++++++++---
 1 files changed, 16 insertions(+), 3 deletions(-)

diffs (48 lines):

diff -r 681dbe27116f -r 163a0334cfa8 sys/dev/pci/pucdata.c
--- a/sys/dev/pci/pucdata.c     Mon Nov 26 00:39:07 2001 +0000
+++ b/sys/dev/pci/pucdata.c     Mon Nov 26 00:41:24 2001 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pucdata.c,v 1.22 2001/11/18 20:20:25 christos Exp $    */
+/*     $NetBSD: pucdata.c,v 1.23 2001/11/26 00:41:24 jonathan 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.22 2001/11/18 20:20:25 christos Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pucdata.c,v 1.23 2001/11/26 00:41:24 jonathan Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -69,8 +69,8 @@
        },
 
        /*
-        * XXX no entry because I have no data:
         * XXX Dolphin Peripherals 4025 (single serial)
+        * (clashes with Dolphin Peripherals  4036 (2s variant)
         */
 
        /*
@@ -89,6 +89,19 @@
        },
 
        /*
+        * Dolphin Peripherals 4036 (dual serial port) card.
+        * (Dolpin 4025 has the same ID but only one port)
+        */
+       {   "Dolphin Peripherals 4036",
+           {   0x1409, 0x7168, 0x0,    0x0     },
+           {   0xffff, 0xffff, 0x0,    0x0     },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8},
+               { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8},
+           },
+       },
+
+       /*
         * XXX no entry because I have no data:
         * XXX Dolphin Peripherals 4078 (dual serial and single parallel)
         */



Home | Main Index | Thread Index | Old Index