From nobody@FreeBSD.org  Sun Aug 11 13:15:53 2002
Return-Path: <nobody@FreeBSD.org>
Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id B2E0D37B400
	for <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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 <freebsd-gnats-submit@FreeBSD.org>; 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: Franois Laissus <fr.laissus@laissus.fr>
To: freebsd-gnats-submit@FreeBSD.org
Subject: Add support of VScom titan PCI-800L
X-Send-Pr-Version: www-1.0

>Number:         41555
>Category:       kern
>Synopsis:       Add support of VScom titan PCI-800L
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Aug 11 13:20:01 PDT 2002
>Closed-Date:    Wed Dec 31 09:29:24 PST 2003
>Last-Modified:  Wed Dec 31 09:29:24 PST 2003
>Originator:     Franois 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: <Titan PCI-800L> 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:
State-Changed-From-To: open->closed 
State-Changed-By: jhb 
State-Changed-When: Wed Dec 31 09:28:59 PST 2003 
State-Changed-Why:  
Support was already present in current and was just MFC'd to stable. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=41555 
>Unformatted:
