Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jan 2005 13:31:17 GMT
From:      Sten Spans <sten@blinkenlights.nl>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/75793: pucdata.c needs resync with net/openbsd
Message-ID:  <200501041331.j04DVHoG072995@www.freebsd.org>
Resent-Message-ID: <200501041340.j04DeMQA033680@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         75793
>Category:       kern
>Synopsis:       pucdata.c needs resync with net/openbsd
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Tue Jan 04 13:40:22 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Sten Spans
>Release:        5.3-STABLE
>Organization:
Blinkenlights
>Environment:
FreeBSD deepthought.blinkenlights.nl 5.3-STABLE FreeBSD 5.3-STABLE #15: Tue Dec 21 03:05:04 CET 2004     root@deepthought.blinkenlights.nl:/usr/obj/usr/src/sys/DEEPTHOUGHT  alpha

>Description:
I have recently purchased a few Chase/Perle PCI FAST-4 4 port serial 
cards for use with freebsd. I then noticed that the freebsd pucdata.c
is seriously lagging compared to the net/openbsd versions.
Which do have support for the card


>How-To-Repeat:
Use certain serial boards with freebsd.
>Fix:
I have synced the definitions for my card which fixed the issue:

--- src/sys/dev/puc/pucdata.c   2002/08/02 10:40:30     1.31
+++ src/sys/dev/puc/pucdata.c   2002/10/29 08:59:36     1.32
@@ -877,6 +878,42 @@ const struct puc_device_description puc_
                { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ },
                { PUC_PORT_TYPE_COM, 0x1c, 0x00, COM_FREQ },
+           },
+       },
+
+       /*
+        * Boca Research Turbo Serial 654 (4 serial port) card.
+        * Appears to be the same as Chase Research PLC PCI-FAST4
+        * and Perle PCI-FAST4 Multi-Port serial cards.
+        */
+       {   "Boca Research Turbo Serial 654",
+           {   0x10b5, 0x9050, 0x12e0, 0x0031  },
+           {   0xffff, 0xffff, 0xffff, 0xffff  },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 4 },
+           },
+       },
+
+       /*
+        * Boca Research Turbo Serial 658 (8 serial port) card.
+        * Appears to be the same as Chase Research PLC PCI-FAST8
+        * and Perle PCI-FAST8 Multi-Port serial cards.
+        */
+       {   "Boca Research Turbo Serial 658",
+           {   0x10b5, 0x9050, 0x12e0, 0x0021  },
+           {   0xffff, 0xffff, 0xffff, 0xffff  },
+           {
+               { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x08, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x10, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x18, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x20, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x28, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x30, COM_FREQ * 4 },
+               { PUC_PORT_TYPE_COM, 0x18, 0x38, COM_FREQ * 4 },
            },
        },



But the whole pucdata.c should really be updated, there are quite
a few cards more in there. pucdata.c is relatively lowrisk in only
contains card definitions.
>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200501041331.j04DVHoG072995>