kern/186891: [puc] [patch] MCS9922 based card not known
Marius Strobl
marius at freebsd.org
Thu Apr 10 22:20:01 UTC 2014
The following reply was made to PR kern/186891; it has been noted by GNATS.
From: Marius Strobl <marius at freebsd.org>
To: bug-followup at FreeBSD.org, bsd at 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
More information about the freebsd-bugs
mailing list