From owner-freebsd-hardware@FreeBSD.ORG Thu Feb 23 14:34:17 2012 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BB595106566B for ; Thu, 23 Feb 2012 14:34:17 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from cyrus.watson.org (cyrus.watson.org [65.122.17.42]) by mx1.freebsd.org (Postfix) with ESMTP id 8BA4B8FC17 for ; Thu, 23 Feb 2012 14:34:17 +0000 (UTC) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [96.47.65.170]) by cyrus.watson.org (Postfix) with ESMTPSA id 40C3346B2C; Thu, 23 Feb 2012 09:34:17 -0500 (EST) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 9F614B948; Thu, 23 Feb 2012 09:34:16 -0500 (EST) From: John Baldwin To: Milan Obuch Date: Thu, 23 Feb 2012 08:31:09 -0500 User-Agent: KMail/1.13.5 (FreeBSD/8.2-CBSD-20110714-p10; KDE/4.5.5; amd64; ; ) References: <20120220220237.7474cc1e@atom.dino.sk> <201202220957.56016.jhb@freebsd.org> <20120222233536.314d7f86@atom.dino.sk> In-Reply-To: <20120222233536.314d7f86@atom.dino.sk> MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201202230831.09164.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 23 Feb 2012 09:34:16 -0500 (EST) Cc: freebsd-hardware@freebsd.org Subject: Re: PER-C40C minipci card under FreeBSD X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Feb 2012 14:34:17 -0000 On Wednesday, February 22, 2012 5:35:36 pm Milan Obuch wrote: > On Wed, 22 Feb 2012 09:57:55 -0500 > John Baldwin wrote: > > [ snip ] > > > > --- pucdata.c.orig 2012-02-21 16:47:33.000000000 +0100 > > > +++ pucdata.c.patched 2012-02-22 12:10:44.000000000 +0100 > > > @@ -696,6 +696,12 @@ > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > > > > + { 0x1415, 0x9505, 0xffff, 0, > > > + "Oxford Semiconductor OXuPCI952 UARTs (function 0)", > > > + DEFAULT_RCLK * 8, > > > + PUC_PORT_2S, 0x10, 4, 0, > > > + }, > > > + > > > { 0x1415, 0x950a, 0x131f, 0x2030, > > > "SIIG Cyber 2S PCIe", > > > DEFAULT_RCLK * 10, > > > @@ -708,11 +714,13 @@ > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > > > > +#if 0 > > > { 0x1415, 0x9511, 0xffff, 0, > > > "Oxford Semiconductor OX9160/OX16PCI954 UARTs (function > > > 1)", DEFAULT_RCLK, > > > PUC_PORT_4S, 0x10, 0, 8, > > > }, > > > +#endif > > > > > > { 0x1415, 0x9521, 0xffff, 0, > > > "Oxford Semiconductor OX16PCI952 UARTs", > > > > > > pciconf -lv tells following about card functions: > > > > > > puc0@pci0:0:12:0: class=0x070006 card=0x00001415 chip=0x95051415 > > > rev=0x01 > > hdr=0x00 > > > vendor = 'Oxford Semiconductor Ltd' > > > device = 'OXuPCI952 (Dual 16C950 UART)' > > > class = simple comms > > > subclass = UART > > > none1@pci0:0:12:1: class=0x068000 card=0x00001415 chip=0x95111415 > > > rev=0x01 > > hdr=0x00 > > > vendor = 'Oxford Semiconductor Ltd' > > > device = 'OX16PCI954 (Quad 16950 UART) function 1 (8bit bus)' > > > class = bridge > > > > > > This patch works for me on both 10-CURRENT and 8.3-PRERELEASE. > > > > Hmm, ok. Unfortunately there are other devices that need the > > commented out entry. I've sent a followup to that original PR to see > > if that device has a subvendor device ID. > > > > Do you have some pointers to such devices? I am no real expert, but > there must be some difference... Just the PR referenced in the commit that added these lines: http://www.freebsd.org/cgi/query-pr.cgi?pr=65040 -- John Baldwin