Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Sep 2003 11:08:56 +0900 (JST)
From:      Shingo WATANABE <nabe@nabechan.org>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   kern/56467: Avlab Low Profile PCI 4 Serial does not work, but worked in previous version
Message-ID:  <200309050208.h8528urt020228@nabechan.org>
Resent-Message-ID: <200309050210.h852AEZ1073226@freefall.freebsd.org>

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

>Number:         56467
>Category:       kern
>Synopsis:       Avlab Low Profile PCI 4 Serial does not work, but worked in previous version
>Confidential:   no
>Severity:       critical
>Priority:       high
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu Sep 04 19:10:14 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Shingo WATANABE <nabe@nabechan.org>
>Release:        FreeBSD 4.9-PRERELEASE i386
>Organization:
nabechan.org
>Environment:
System: FreeBSD nabechan.org 4.9-PRERELEASE FreeBSD 4.9-PRERELEASE #11: Thu Sep 4 17:28:18 JST 2003 nabe@nabechan.org:/usr/obj/usr/src/sys/NABECHAN i386


	
>Description:
The multi port serial card "Avlab Low Profile PCI 4 Serial" worked on FreeBSD 4.8-STABLE, but it does not probe correctly on 4.9-PRERELEASE.
	pci1: <unknown card> (vendor=0x14db, dev=0x2150) at 0.0 irq 12

This problem was caused by the rev 1.2.2.14 of pucdata.c.
We does not have the "puc_init_t *init;" as a member of struct puc_device_description in RELENG_4, such member only exists in the FreeBSD-current.

	
>How-To-Repeat:
install the above card and make the kernel with "device puc".

>Fix:
apply the following patch and compile the kernel.
the puc driver will probe and work well.

	puc0: <Avlab Low Profile PCI 4 Serial> port 0xbc00-0xbc07,0xb800-0xb807,0xb400-0xb407,0xb000-0xb007 irq 12 at device 0.0 on pci1
	sio2: type 16550A
	sio3: type 16550A
	sio4: type 16550A
	sio5: type 16550A


--- pucdata.c.diff begins here ---
--- pucdata.c.org	Fri Aug 29 04:53:20 2003
+++ pucdata.c	Thu Sep  4 17:20:19 2003
@@ -900,7 +900,6 @@
 
 	/* Moxa Technologies Co., Ltd. PCI I/O Card 8S RS232 */
 	{   "Moxa Technologies, C168U/PCI",
-	    NULL,
 	    {	0x1393,	0x1681,	0,	0	},
 	    {	0xffff,	0xffff,	0,	0,	},
 	    {
--- pucdata.c.diff ends here ---


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



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