kern/75793: pucdata.c needs resync with net/openbsd
Sten Spans
sten at blinkenlights.nl
Tue Jan 4 13:40:23 GMT 2005
>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 at 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:
More information about the freebsd-bugs
mailing list