From owner-freebsd-bugs Sun Aug 11 13:20:11 2002 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 52D6B37B400 for ; Sun, 11 Aug 2002 13:20:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id A1A8043E6A for ; Sun, 11 Aug 2002 13:20:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g7BKK1JU056752 for ; Sun, 11 Aug 2002 13:20:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g7BKK1AF056751; Sun, 11 Aug 2002 13:20:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B2E0D37B400 for ; Sun, 11 Aug 2002 13:15:53 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id 73F4F43E65 for ; Sun, 11 Aug 2002 13:15:53 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g7BKFqOT072831 for ; Sun, 11 Aug 2002 13:15:52 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g7BKFqX6072830; Sun, 11 Aug 2002 13:15:52 -0700 (PDT) Message-Id: <200208112015.g7BKFqX6072830@www.freebsd.org> Date: Sun, 11 Aug 2002 13:15:52 -0700 (PDT) From: François Laissus To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: kern/41555: Add support of VScom titan PCI-800L Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 41555 >Category: kern >Synopsis: Add support of VScom titan PCI-800L >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Sun Aug 11 13:20:01 PDT 2002 >Closed-Date: >Last-Modified: >Originator: François Laissus >Release: 4.6-STABLE >Organization: >Environment: FreeBSD myriade 4.6-STABLE FreeBSD 4.6-STABLE #46:Sun Aug 11 20:19:36 CEST 2002 root@myriade:/home/obj/home/46-STABLE/src/sys/MYRIADE i386 >Description: The 4.6R the puc driver has been added from NetBSD. I've had to manually patch src/sys/dev/puc/pucdata.c with a few lines from newer release of the same file from NetBSD, to support the "Titan PCI-800L" (8 serials). It runs fine under 46S : # dmesg | egrep "puc|sio" puc0: port 0x8000-0x803f,0x7c00-0x7c07,0x7800-0x7807,0x7400-0x7407,0x7000-0x7007 irq 12 at device 16.0 on pci0 sio3: type 16550A sio4: type 16550A sio5: type 16550A sio6: type 16550A sio7: type 16550A sio8: type 16550A sio9: type 16550A sio10: type 16550A [...] >How-To-Repeat: >Fix: $ cvs diff pucdata.c Index: pucdata.c =================================================================== RCS file: /home/FreeBSD-CVS/src/sys/dev/puc/pucdata.c,v retrieving revision 1.2.2.5 diff -r1.2.2.5 pucdata.c 571c571,584 < --- > { "Titan PCI-800L", > { 0x14d2, 0x8080, 0, 0 }, > { 0xffff, 0xffff, 0, 0 }, > { > { PUC_PORT_TYPE_COM, 0x14, 0x00, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x18, 0x00, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x00, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x08, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x10, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x18, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x20, COM_FREQ * 8 }, > { PUC_PORT_TYPE_COM, 0x20, 0x28, COM_FREQ * 8 }, > }, > }, >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message