From 128f1a43fea4c86d8283525ea3a753bb47fad453 Mon Sep 17 00:00:00 2001 From: ian Date: Sat, 15 Feb 2014 20:36:54 +0000 Subject: [PATCH] If no compatible cards were found after probing the bus, say so. --- sys/dev/mmc/mmc.c | 1 + 1 file changed, 1 insertion(+) diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index e8ac40640a7..3d66c62cdc7 100644 --- a/sys/dev/mmc/mmc.c +++ b/sys/dev/mmc/mmc.c @@ -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; -- 2.45.0