Date: Thu, 10 Apr 2014 22:20:00 GMT From: Marius Strobl <marius@freebsd.org> To: freebsd-bugs@FreeBSD.org Subject: Re: kern/186891: [puc] [patch] MCS9922 based card not known Message-ID: <201404102220.s3AMK04g052218@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/186891; it has been noted by GNATS.
From: Marius Strobl <marius@freebsd.org>
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404102220.s3AMK04g052218>
