summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-15 20:33:40 +0000
committerMarcus Glocker <mglocker@cvs.openbsd.org>2006-10-15 20:33:40 +0000
commitac6177f008d6286c5b353cc1757e045520f59cad (patch)
tree3a2f5a1e59a088de43a47070dbcd6ebbb34d9878
parent13a1d52a915476ace48803c2431d312b1c324c11 (diff)
More serious firmware load error messages.
ok claudio@
-rw-r--r--sys/dev/ic/malo.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/sys/dev/ic/malo.c b/sys/dev/ic/malo.c
index 08863ddda35..fd3cc56c125 100644
--- a/sys/dev/ic/malo.c
+++ b/sys/dev/ic/malo.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malo.c,v 1.2 2006/10/15 20:07:31 claudio Exp $ */
+/* $OpenBSD: malo.c,v 1.3 2006/10/15 20:33:39 mglocker Exp $ */
/*
* Copyright (c) 2006 Claudio Jeker <claudio@openbsd.org>
@@ -327,7 +327,8 @@ malo_load_bootimg(struct malo_softc *sc)
* first bar is internaly mapped to 0xc0000000.
*/
if (malo_send_cmd(sc, 0xc000bef8, 5) != 0) {
- printf("%s: BUMMER: timeout\n", sc->sc_dev.dv_xname);
+ printf("%s: timeout at boot firmware load!\n",
+ sc->sc_dev.dv_xname);
free(ucode, M_DEVBUF);
return (ETIMEDOUT);
}
@@ -378,7 +379,8 @@ malo_load_firmware(struct malo_softc *sc)
bcopy(ucode + count, data, bsize);
if (malo_send_cmd(sc, sc->sc_cmd_dmaaddr, 5) != 0) {
- printf("%s: GRUMBLE: timeout\n", sc->sc_dev.dv_xname);
+ printf("%s: timeout at firmware upload!\n",
+ sc->sc_dev.dv_xname);
free(ucode, M_DEVBUF);
return (ETIMEDOUT);
}
@@ -395,7 +397,7 @@ malo_load_firmware(struct malo_softc *sc)
hdr->result = 0;
if (malo_send_cmd(sc, sc->sc_cmd_dmaaddr, 0xf0f1f2f4) != 0) {
- printf("%s: GOPF: timeout\n", sc->sc_dev.dv_xname);
+ printf("%s: timeout at firmware load!\n", sc->sc_dev.dv_xname);
return (ETIMEDOUT);
}