From owner-freebsd-bugs@FreeBSD.ORG Thu Apr 10 22:20:01 2014 Return-Path: Delivered-To: freebsd-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 21A0A394 for ; Thu, 10 Apr 2014 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 0D5A51B0F for ; Thu, 10 Apr 2014 22:20:01 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.8/8.14.8) with ESMTP id s3AMK0PK052219 for ; Thu, 10 Apr 2014 22:20:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.8/8.14.8/Submit) id s3AMK04g052218; Thu, 10 Apr 2014 22:20:00 GMT (envelope-from gnats) Date: Thu, 10 Apr 2014 22:20:00 GMT Message-Id: <201404102220.s3AMK04g052218@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Marius Strobl Subject: Re: kern/186891: [puc] [patch] MCS9922 based card not known X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list Reply-To: Marius Strobl List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Apr 2014 22:20:01 -0000 The following reply was made to PR kern/186891; it has been noted by GNATS. From: Marius Strobl To: bug-followup@FreeBSD.org, bsd@dino.sk Cc: Subject: Re: kern/186891: [puc] [patch] MCS9922 based card not known Date: Fri, 11 Apr 2014 00:13:18 +0200 On Thu, Apr 10, 2014 at 11:26:56PM +0200, Marius Strobl wrote: > Could you please revert your > patch for puc(4) and test whether the attached one provies you with > two instances of uart(4) for that card? > > Index: uart_bus_pci.c > =================================================================== > --- uart_bus_pci.c (revision 264257) > +++ uart_bus_pci.c (working copy) > @@ -135,6 +135,8 @@ > "MosChip MCS9901 PCIe to Peripheral Controller", 0x10 }, > { 0x9710, 0x9904, 0xa000, 0x1000, > "MosChip MCS9904 PCIe to Peripheral Controller", 0x10 }, > +{ 0x9710, 0x9922, 0x0000, 0x0000, > + "MosChip MCS9922 PCIe to Peripheral Controller", 0x10 }, > { 0xdeaf, 0x9051, 0xffff, 0, "Middle Digital PC Weasel Serial Port", 0x10 }, > { 0xffff, 0, 0xffff, 0, NULL, 0, 0} > }; I'm not sure whether the sub vendor and sub device IDs taken from NetBSD actually are correct. The MCS9922 datasheet suggests that the following should be used instead: +{ 0x9710, 0x9922, 0xa000, 0x1000, + "MosChip MCS9922 PCIe to Peripheral Controller", 0x10 }, Marius