svn commit: r343028 - head/sys/arm/mv
Oleksandr Tymoshenko
gonzo at FreeBSD.org
Tue Jan 15 00:37:38 UTC 2019
Author: gonzo
Date: Tue Jan 15 00:37:37 2019
New Revision: 343028
URL: https://svnweb.freebsd.org/changeset/base/343028
Log:
[mv_pci] Increase default PCI space size for mv_pci
mv_pci driver reads PCI memory window layout from DTB data and if the
data is incomplete falls back to default value. The value is too small
to fit two PCI spaces for mwlwifi devices on WRT3200ACM so the resource
allocation for them fails. Increase the default to 4Mb from 1Mb so
the devices can be properly attached.
MFC after: 1 week
Modified:
head/sys/arm/mv/mv_pci.c
Modified: head/sys/arm/mv/mv_pci.c
==============================================================================
--- head/sys/arm/mv/mv_pci.c Tue Jan 15 00:35:19 2019 (r343027)
+++ head/sys/arm/mv/mv_pci.c Tue Jan 15 00:37:37 2019 (r343028)
@@ -100,7 +100,7 @@ struct mv_pci_range {
};
#define FDT_RANGES_CELLS ((3 + 3 + 2) * 2)
-#define PCI_SPACE_LEN 0x00100000
+#define PCI_SPACE_LEN 0x00400000
static void
mv_pci_range_dump(struct mv_pci_range *range)
More information about the svn-src-head
mailing list