Date: Sun, 11 Aug 2002 13:15:52 -0700 (PDT) From: François Laissus <fr.laissus@laissus.fr> To: freebsd-gnats-submit@FreeBSD.org Subject: kern/41555: Add support of VScom titan PCI-800L Message-ID: <200208112015.g7BKFqX6072830@www.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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: <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:
>Unformatted:
To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200208112015.g7BKFqX6072830>
