mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
If no compatible cards were found after probing the bus, say so.
This commit is contained in:
parent
f850d57232
commit
c4ec9d1887
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Reference in a new issue