Date: 1 Aug 2003 15:52:41 -0000 From: Yeasah Pell <yeasah@apocalypse.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: kern/55159: [patch] puc support for SUN1889 PCI serial card Message-ID: <20030801155241.79391.qmail@turing.schwide.com> Resent-Message-ID: <200308011600.h71G0eDC054116@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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@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@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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030801155241.79391.qmail>