Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 9 Jul 2012 06:19:34 GMT
From:      Jan Mikkelsen <janm@transactionware.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   kern/169726: Add support for Advantech PCI-1602 RS-485/RS-422 serial card to puc(4
Message-ID:  <201207090619.q696JYh7057806@red.freebsd.org>
Resent-Message-ID: <201207090620.q696K6aN024011@freefall.freebsd.org>

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

>Number:         169726
>Category:       kern
>Synopsis:       Add support for Advantech PCI-1602 RS-485/RS-422 serial card to puc(4
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Mon Jul 09 06:20:06 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Jan Mikkelsen
>Release:        9.0-p2
>Organization:
Transactionware
>Environment:
FreeBSD gray.tmst.com.au 9.0-RELEASE-p2 FreeBSD 9.0-RELEASE-p2 #0: Tue Jun 12 15:40:04 EST 2012     root@gray.tmst.com.au:/data/scratch/janm/p4/freebsd-image-std-2011.1/work/base-freebsd/data/scratch/janm/p4/freebsd-image-std-2011.1/FreeBSD/src/sys/GENERIC  amd64
>Description:
This patch adds support for the Advantech PCI-1602 serial card to puc(4).
>How-To-Repeat:

>Fix:
Apply this patch to src/sys/dev/puc/pucdata.c:


--- //depot/vendor/freebsd/9.0-official/src/sys/dev/puc/pucdata.c	2012-05-29 01:23:19.000000000 1000
+++ /data/scratch/janm/p4/freebsd/9.0-official/src/sys/dev/puc/pucdata.c	2012-05-29 01:23:19.000000000 1000
@@ -595,6 +595,12 @@
 	    PUC_PORT_8S, 0x10, 0, -1,
 	},
 
+	{   0x13fe, 0x1600, 0x1602, 0x0002,
+	    "Advantech PCI-1602",
+	    DEFAULT_RCLK * 8,
+	    PUC_PORT_2S, 0x10, 0, 8,
+	},
+
 	{   0x1407, 0x0100, 0xffff, 0,
 	    "Lava Computers Dual Serial",
 	    DEFAULT_RCLK,


>Release-Note:
>Audit-Trail:
>Unformatted:



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