kern/55159: [patch] puc support for SUN1889 PCI serial card

Yeasah Pell yeasah at apocalypse.org
Fri Aug 1 09:00:43 PDT 2003


>Number:         55159
>Category:       kern
>Synopsis:       [patch] puc support for SUN1889 PCI serial card
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Fri Aug 01 09:00:38 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Yeasah Pell
>Release:        FreeBSD 5.1-RELEASE i386
>Organization:
Venture Technologies, Inc.
>Environment:
System: FreeBSD turing.schwide.net 5.1-RELEASE FreeBSD 5.1-RELEASE #42: Sat Jul 19 05:04:14 EDT 2003 root at turing.schwide.net:/usr/obj/usr/src/sys/SCHWIDE i386

>Description:
	This patch adds support for a non-branded SUN1889-based 2 port PCI
	serial card. pciconf -lv gives the following (after the patch is
	applied):

puc0 at pci1:5:0:  class=0x070002 card=0x40370009 chip=0x71680009 rev=0x01 hdr=0x00
    class    = simple comms
    subclass = UART

	Note that the vendor ID doesn't appear in the yourvote PCI vendor list,
	which is a bit odd. Perhaps the manufacturer just appropriated an ID?

>How-To-Repeat:
	Install SUN1889 PCI serial card. Add "device puc" to kernel config.
	Boot.
>Fix:

--- /sys/dev/puc/pucdata.c.orig Fri Aug  1 06:13:28 2003
+++ /sys/dev/puc/pucdata.c      Fri Aug  1 07:50:44 2003
@@ -49,6 +49,16 @@
 
 const struct puc_device_description puc_devices[] = {
 
+       {   "Sunix SUN1889",
+           NULL,
+           {   0x0009, 0x7168, 0,      0       },
+           {   0xffff, 0xffff, 0,      0       },
+           {
+               { PUC_PORT_TYPE_COM, 0x10, 0x00, COM_FREQ * 8 },
+               { PUC_PORT_TYPE_COM, 0x10, 0x08, COM_FREQ * 8 },
+           },
+       },
+
        {   "Comtrol RocketPort 550/4 RJ45",
            NULL,
            {   0x11fe, 0x8014, 0,      0       },
>Release-Note:
>Audit-Trail:
>Unformatted:


More information about the freebsd-bugs mailing list