From owner-freebsd-stable@FreeBSD.ORG Tue Aug 16 07:48:15 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4F89E1065670 for ; Tue, 16 Aug 2011 07:48:15 +0000 (UTC) (envelope-from delphij@delphij.net) Received: from anubis.delphij.net (anubis.delphij.net [IPv6:2001:470:1:117::25]) by mx1.freebsd.org (Postfix) with ESMTP id 3467A8FC15 for ; Tue, 16 Aug 2011 07:48:15 +0000 (UTC) Received: from delta.delphij.net (c-76-102-50-245.hsd1.ca.comcast.net [76.102.50.245]) (using TLSv1 with cipher DHE-RSA-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by anubis.delphij.net (Postfix) with ESMTPSA id E7048139CA; Tue, 16 Aug 2011 00:48:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=delphij.net; s=anubis; t=1313480895; bh=pOgxblFWQSI2Vjlkv5hOrnrwYqBIdVy+9Yk02rdPmCk=; h=Message-ID:Date:From:Reply-To:MIME-Version:To:Subject:References: In-Reply-To:Content-Type; b=vKoVRUQ4SwuNuERXxzZ+mI9PbgCrPe+mW7oInWzvxqR8olnTdR8BREa6XWsYgBpsW X6AdkYbIXaov22RUfPIT6E26LT8Dv41TL1dwUy1S7gN5GHbVzkLjN6WBE2ony6G8Wl JGoMsEPsemMpwwDepX6HaNPaK3KF0m+RENqnm/Uw= Message-ID: <4E4A20BE.3060603@delphij.net> Date: Tue, 16 Aug 2011 00:48:14 -0700 From: Xin LI Organization: The FreeBSD Project MIME-Version: 1.0 To: freebsd-stable@freebsd.org References: <4E4A0C81.7020501@rawbw.com> In-Reply-To: <4E4A0C81.7020501@rawbw.com> OpenPGP: id=3FCA37C1; url=http://www.delphij.net/delphij.asc Content-Type: multipart/mixed; boundary="------------070402070505040801070209" Subject: Re: How to use unrecognized COM port card? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: d@delphij.net List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Aug 2011 07:48:15 -0000 This is a multi-part message in MIME format. --------------070402070505040801070209 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA256 On 08/15/11 23:21, Yuri wrote: > I have dual COM port pci card: none7@pci0:8:1:0: class=0x070002 > card=0x32534348 chip=0x32534348 rev=0x10 hdr=0x00 class = simple > comms subclass = UART bar [10] = type I/O Port, range 32, base > 0xe880, size 8, enabled bar [14] = type I/O Port, range 32, base > 0xe800, size 8, enabled > > Manufacturer 0x4348 isn't recognized by http://www.pcidatabase.com. > It was purchased from China through ebay. > > How to make it to work in 8.2-STABLE? A wild guess... (You gotta to provide more details rather than just PCI IDs). My guess is that it's using these chips: http://www.winchiphead.com/product/ch365detail.htm http://www.winchiphead.com/product/ch353detail.htm It didn't talked about possible cards' configuration so I used BAR0, which could be 0x14, 0x18, etc. Cheers, - -- Xin LI https://www.delphij.net/ FreeBSD - The Power to Serve! Live free or die -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (FreeBSD) iQEcBAEBCAAGBQJOSiC9AAoJEATO+BI/yjfB5oAH/R0yt8Zx3HDVOXA5jUOXzlWl A+XCmbaau4MNhOtiyVJ8sWERE1CukgQeIE7DWze1rJ6YU7bTXKAgoRbqVJsfiAbH CEhLx+Y2T7HLow9ZojCGrqk6ydrGxheWIyf2AM7nTORZQdEUceEWGLE4GMXJghTp Y4udsGfSRqa+1O7tTOpechDi5jtG/cW+dDFeyZqVo0AjfS78D10wEqoiudloIkBd IAEyy7JGCU/R6AM+DhHHm0dIT68MkHxULOpTLy0GxxzJecWruknqd+h+V36Q3X+h brg2isOawCGLhWgzCDXVZXwJWIXA28RaRmDPeZRNv5TKUESmZEenR8lEpH7ji+s= =KUoE -----END PGP SIGNATURE----- --------------070402070505040801070209 Content-Type: text/plain; name="uart.diff" Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename="uart.diff" Index: sys/dev/uart/uart_bus_pci.c =================================================================== --- sys/dev/uart/uart_bus_pci.c (revision 224900) +++ sys/dev/uart/uart_bus_pci.c (working copy) @@ -111,6 +111,7 @@ { 0x1415, 0x950b, 0xffff, 0, "Oxford Semiconductor OXCB950 Cardbus 16950 UART", 0x10, 16384000 }, { 0x151f, 0x0000, 0xffff, 0, "TOPIC Semiconductor TP560 56k modem", 0x10 }, +{ 0x4348, 0x3253, 0xffff, 0, "WinChipHead Dual Port RS-232", 0x10 }, { 0x9710, 0x9820, 0x1000, 1, "NetMos NM9820 Serial Port", 0x10 }, { 0x9710, 0x9835, 0x1000, 1, "NetMos NM9835 Serial Port", 0x10 }, { 0x9710, 0x9865, 0xa000, 0x1000, "NetMos NM9865 Serial Port", 0x10 }, --------------070402070505040801070209--