svn commit: r261944 - head/sys/dev/mmc
Ian Lepore
ian at FreeBSD.org
Sat Feb 15 20:36:55 UTC 2014
Author: ian
Date: Sat Feb 15 20:36:54 2014
New Revision: 261944
URL: http://svnweb.freebsd.org/changeset/base/261944
Log:
If no compatible cards were found after probing the bus, say so.
Modified:
head/sys/dev/mmc/mmc.c
Modified: head/sys/dev/mmc/mmc.c
==============================================================================
--- head/sys/dev/mmc/mmc.c Sat Feb 15 18:36:31 2014 (r261943)
+++ head/sys/dev/mmc/mmc.c Sat Feb 15 20:36:54 2014 (r261944)
@@ -1572,6 +1572,7 @@ mmc_go_discovery(struct mmc_softc *sc)
if (bootverbose || mmc_debug)
device_printf(sc->dev, "Current OCR: 0x%08x\n", mmcbr_get_ocr(dev));
if (mmcbr_get_ocr(dev) == 0) {
+ device_printf(sc->dev, "No compatible cards found on bus\n");
mmc_delete_cards(sc);
mmc_power_down(sc);
return;
More information about the svn-src-all
mailing list