diff options
author | ian <ian@FreeBSD.org> | 2014-02-15 20:36:54 +0000 |
---|---|---|
committer | ian <ian@FreeBSD.org> | 2014-02-15 20:36:54 +0000 |
commit | 128f1a43fea4c86d8283525ea3a753bb47fad453 (patch) | |
tree | 8504ea1efa0b09699baeee0eac74424c08868f01 /sys/dev/mmc | |
parent | 1804af5050a49096994d775d055b4eb6019a2497 (diff) | |
download | FreeBSD-src-128f1a43fea4c86d8283525ea3a753bb47fad453.zip FreeBSD-src-128f1a43fea4c86d8283525ea3a753bb47fad453.tar.gz |
If no compatible cards were found after probing the bus, say so.
Diffstat (limited to 'sys/dev/mmc')
-rw-r--r-- | sys/dev/mmc/mmc.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/dev/mmc/mmc.c b/sys/dev/mmc/mmc.c index e8ac406..3d66c62 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; |