From owner-freebsd-bugs@FreeBSD.ORG Thu Sep 4 19:10:17 2003 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9550816A4BF for ; Thu, 4 Sep 2003 19:10:17 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9EB7F43FFD for ; Thu, 4 Sep 2003 19:10:14 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h852AEUp073227 for ; Thu, 4 Sep 2003 19:10:14 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h852AEZ1073226; Thu, 4 Sep 2003 19:10:14 -0700 (PDT) Resent-Date: Thu, 4 Sep 2003 19:10:14 -0700 (PDT) Resent-Message-Id: <200309050210.h852AEZ1073226@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Shingo WATANABE Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 164F316A4BF for ; Thu, 4 Sep 2003 19:09:00 -0700 (PDT) Received: from nabechan.org (ns3.nabechan.org [219.166.183.91]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9DEF943FDF for ; Thu, 4 Sep 2003 19:08:58 -0700 (PDT) (envelope-from nabe@nabechan.org) Received: from nabechan.org (localhost [127.0.0.1]) by nabechan.org (8.12.9/8.12.9) with ESMTP id h8528ujp020229 for ; Fri, 5 Sep 2003 11:08:57 +0900 (JST) (envelope-from nabe@nabechan.org) Received: (from nabe@localhost) by nabechan.org (8.12.9/8.12.9/Submit) id h8528urt020228; Fri, 5 Sep 2003 11:08:56 +0900 (JST) Message-Id: <200309050208.h8528urt020228@nabechan.org> Date: Fri, 5 Sep 2003 11:08:56 +0900 (JST) From: Shingo WATANABE To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/56467: Avlab Low Profile PCI 4 Serial does not work, but worked in previous version X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Shingo WATANABE List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 05 Sep 2003 02:10:17 -0000 >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 >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: (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: 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: