From owner-freebsd-bugs@FreeBSD.ORG Fri Aug 1 09:00:42 2003 Return-Path: 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 BC0B737B405 for ; Fri, 1 Aug 2003 09:00:42 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id BF97643FBD for ; Fri, 1 Aug 2003 09:00:40 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h71G0eUp054117 for ; Fri, 1 Aug 2003 09:00:40 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h71G0eDC054116; Fri, 1 Aug 2003 09:00:40 -0700 (PDT) Resent-Date: Fri, 1 Aug 2003 09:00:40 -0700 (PDT) Resent-Message-Id: <200308011600.h71G0eDC054116@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Yeasah Pell Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 50BBE37B401 for ; Fri, 1 Aug 2003 08:52:43 -0700 (PDT) Received: from smtp01.mrf.mail.rcn.net (smtp01.mrf.mail.rcn.net [207.172.4.60]) by mx1.FreeBSD.org (Postfix) with ESMTP id A677A43FB1 for ; Fri, 1 Aug 2003 08:52:42 -0700 (PDT) (envelope-from yeasah@turing.schwide.com) Received: from 209-6-13-223.c3-0.ded-ubr1.sbo-ded.ma.cable.rcn.com ([209.6.13.223] helo=turing.schwide.com) by smtp01.mrf.mail.rcn.net with smtp (Exim 3.35 #4) id 19icCv-0002fU-00 for FreeBSD-gnats-submit@freebsd.org; Fri, 01 Aug 2003 11:52:41 -0400 Received: (qmail 79392 invoked by uid 1001); 1 Aug 2003 15:52:41 -0000 Message-Id: <20030801155241.79391.qmail@turing.schwide.com> Date: 1 Aug 2003 15:52:41 -0000 From: Yeasah Pell To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: kern/55159: [patch] puc support for SUN1889 PCI serial card X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 01 Aug 2003 16:00:43 -0000 >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: