svn commit: r276351 - head/sys/dev/uart
Marius Strobl
marius at FreeBSD.org
Sun Dec 28 21:36:21 UTC 2014
Author: marius
Date: Sun Dec 28 21:36:20 2014
New Revision: 276351
URL: https://svnweb.freebsd.org/changeset/base/276351
Log:
Don't use a sub-device/-vendor wildcard for probing MCS9922 as other
chips with the same device and vendor IDs actually may provide different
functionality. While at it, canonicalize the description to match other
MosChip UARTs.
PR: 186891
MFC after: 3 days
Modified:
head/sys/dev/uart/uart_bus_pci.c
Modified: head/sys/dev/uart/uart_bus_pci.c
==============================================================================
--- head/sys/dev/uart/uart_bus_pci.c Sun Dec 28 21:33:41 2014 (r276350)
+++ head/sys/dev/uart/uart_bus_pci.c Sun Dec 28 21:36:20 2014 (r276351)
@@ -137,8 +137,8 @@ static const struct pci_id pci_ns8250_id
"MosChip MCS9901 PCIe to Peripheral Controller", 0x10 },
{ 0x9710, 0x9904, 0xa000, 0x1000,
"MosChip MCS9904 PCIe to Peripheral Controller", 0x10 },
-{ 0x9710, 0x9922, 0xffff, 0,
- "MosChip MCS9922 Multi I/O Controller", 0x10 },
+{ 0x9710, 0x9922, 0xa000, 0x1000,
+ "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}
};
More information about the svn-src-all
mailing list