If no compatible cards were found after probing the bus, say so.

This commit is contained in:
ian 2014-02-15 20:36:54 +00:00
parent 1804af5050
commit 128f1a43fe

View File

@ -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;