svn commit: r302521 - head/sys/arm/allwinner
Jared McNeill
jmcneill at FreeBSD.org
Sun Jul 10 10:21:23 UTC 2016
Author: jmcneill
Date: Sun Jul 10 10:21:22 2016
New Revision: 302521
URL: https://svnweb.freebsd.org/changeset/base/302521
Log:
In the absence of a bus-width property, default to 4-bit bus width instead
of 1-bit.
Modified:
head/sys/arm/allwinner/a10_mmc.c
Modified: head/sys/arm/allwinner/a10_mmc.c
==============================================================================
--- head/sys/arm/allwinner/a10_mmc.c Sun Jul 10 10:17:38 2016 (r302520)
+++ head/sys/arm/allwinner/a10_mmc.c Sun Jul 10 10:21:22 2016 (r302521)
@@ -255,7 +255,7 @@ a10_mmc_attach(device_t dev)
a10_mmc_pio_mode ? "disabled" : "enabled");
if (OF_getencprop(node, "bus-width", &bus_width, sizeof(uint32_t)) <= 0)
- bus_width = 1;
+ bus_width = 4;
sc->a10_host.f_min = 400000;
sc->a10_host.f_max = 50000000;
More information about the svn-src-head
mailing list