If no compatible cards were found after probing the bus, say so.
This commit is contained in:
parent
1804af5050
commit
128f1a43fe
@ -1572,6 +1572,7 @@ mmc_go_discovery(struct mmc_softc *sc)
|
|||||||
if (bootverbose || mmc_debug)
|
if (bootverbose || mmc_debug)
|
||||||
device_printf(sc->dev, "Current OCR: 0x%08x\n", mmcbr_get_ocr(dev));
|
device_printf(sc->dev, "Current OCR: 0x%08x\n", mmcbr_get_ocr(dev));
|
||||||
if (mmcbr_get_ocr(dev) == 0) {
|
if (mmcbr_get_ocr(dev) == 0) {
|
||||||
|
device_printf(sc->dev, "No compatible cards found on bus\n");
|
||||||
mmc_delete_cards(sc);
|
mmc_delete_cards(sc);
|
||||||
mmc_power_down(sc);
|
mmc_power_down(sc);
|
||||||
return;
|
return;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user