From c4ec9d18872b6d3be6b6d3fd46d7403995ebd6bb Mon Sep 17 00:00:00 2001 From: Ian Lepore 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;