diff options
author | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-10 17:58:24 +0000 |
---|---|---|
committer | Federico G. Schwindt <fgsch@cvs.openbsd.org> | 2006-07-10 17:58:24 +0000 |
commit | 62d5f8ef404c8e5aafff47ee6a788a7247e042fc (patch) | |
tree | 455311a46e93c043c143e5067a726226dfaf1678 | |
parent | 9deb25528007f7ee6cba514f7666971ee1036865 (diff) |
print the frequency in mhz, really.
-rw-r--r-- | sys/dev/sdmmc/sdhc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/sdmmc/sdhc.c b/sys/dev/sdmmc/sdhc.c index ba1d0d55fe2..084dac8b301 100644 --- a/sys/dev/sdmmc/sdhc.c +++ b/sys/dev/sdmmc/sdhc.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sdhc.c,v 1.5 2006/06/29 01:32:33 uwe Exp $ */ +/* $OpenBSD: sdhc.c,v 1.6 2006/07/10 17:58:23 fgsch Exp $ */ /* * Copyright (c) 2006 Uwe Stuehler <uwe@openbsd.org> @@ -198,7 +198,7 @@ sdhc_host_found(struct sdhc_softc *sc, bus_space_tag_t iot, } else if (hp->clkbase < 10000 || hp->clkbase > 63000) { /* SDHC 1.0 supports only 10-63 Mhz. */ printf("%s: base clock frequency out of range: %u MHz\n", - sc->sc_dev.dv_xname, hp->clkbase); + sc->sc_dev.dv_xname, hp->clkbase / 1000); goto err; } |