Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 15 Feb 2014 20:36:55 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r261944 - head/sys/dev/mmc
Message-ID:  <201402152036.s1FKatA8099803@svn.freebsd.org>

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



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