Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Jul 2016 10:21:22 +0000 (UTC)
From:      Jared McNeill <jmcneill@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r302521 - head/sys/arm/allwinner
Message-ID:  <201607101021.u6AALM7m094560@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201607101021.u6AALM7m094560>