diff options
author | Alexander Yurchenko <grange@cvs.openbsd.org> | 2007-06-14 19:13:38 +0000 |
---|---|---|
committer | Alexander Yurchenko <grange@cvs.openbsd.org> | 2007-06-14 19:13:38 +0000 |
commit | c695c7385ce713a79f20bda8fcf772dce28db037 (patch) | |
tree | 6000f2ec89e2310bcb1224863d1cae8aae3fda66 | |
parent | dc5624a00a4b3e598c4818940cc0904e9f2742bd (diff) |
Prettier dmesg; requested a long time ago by deraadt@.
-rw-r--r-- | sys/dev/isa/viasio.c | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/sys/dev/isa/viasio.c b/sys/dev/isa/viasio.c index 00f097b08b4..2a0bcf5579c 100644 --- a/sys/dev/isa/viasio.c +++ b/sys/dev/isa/viasio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: viasio.c,v 1.9 2007/03/22 16:55:31 deraadt Exp $ */ +/* $OpenBSD: viasio.c,v 1.10 2007/06/14 19:13:37 grange Exp $ */ /* * Copyright (c) 2005 Alexander Yurchenko <grange@openbsd.org> * @@ -185,7 +185,7 @@ viasio_attach(struct device *parent, struct device *self, void *aux) /* Read device revision */ reg = viasio_conf_read(sc->sc_iot, sc->sc_ioh, VT1211_REV); - printf(": VT1211 rev 0x%02x:", reg); + printf(": VT1211 rev 0x%02x", reg); /* Initialize logical devices */ viasio_hm_init(sc); @@ -203,7 +203,7 @@ viasio_hm_init(struct viasio_softc *sc) u_int16_t iobase; int i; - printf(" HM"); + printf(", HM"); /* Select HM logical device */ viasio_conf_write(sc->sc_iot, sc->sc_ioh, VT1211_LDN, VT1211_LDN_HM); @@ -224,11 +224,11 @@ viasio_hm_init(struct viasio_softc *sc) VT1211_HM_ACT); DPRINTF((", new ACT 0x%02x", reg0)); if ((reg0 & VT1211_HM_ACT_EN) == 0) { - printf(": failed to activate"); + printf(" failed to activate"); return; } } else { - printf(": not activated"); + printf(" not activated"); return; } } @@ -242,7 +242,7 @@ viasio_hm_init(struct viasio_softc *sc) /* Map HM I/O space */ if (bus_space_map(sc->sc_iot, iobase, VT1211_HM_IOSIZE, 0, &sc->sc_hm_ioh)) { - printf(": can't map I/O space"); + printf(" can't map I/O space"); return; } @@ -262,11 +262,11 @@ viasio_hm_init(struct viasio_softc *sc) VT1211_HM_CONF); DPRINTF((", new CONF 0x%02x", reg0)); if ((reg0 & VT1211_HM_CONF_START) == 0) { - printf(": failed to enable monitoring"); + printf(" failed to enable monitoring"); return; } } else { - printf(": monitoring not enabled"); + printf(" monitoring not enabled"); return; } } @@ -434,7 +434,7 @@ viasio_wdg_init(struct viasio_softc *sc) u_int8_t reg0, reg1; u_int16_t iobase; - printf(" WDG"); + printf(", WDG"); /* Select WDG logical device */ viasio_conf_write(sc->sc_iot, sc->sc_ioh, VT1211_LDN, VT1211_LDN_WDG); @@ -455,11 +455,11 @@ viasio_wdg_init(struct viasio_softc *sc) VT1211_WDG_ACT); DPRINTF((", new ACT 0x%02x", reg0)); if ((reg0 & VT1211_WDG_ACT_EN) == 0) { - printf(": failed to activate"); + printf(" failed to activate"); return; } } else { - printf(": not activated"); + printf(" not activated"); return; } } @@ -473,7 +473,7 @@ viasio_wdg_init(struct viasio_softc *sc) /* Map WDG I/O space */ if (bus_space_map(sc->sc_iot, iobase, VT1211_WDG_IOSIZE, 0, &sc->sc_wdg_ioh)) { - printf(": can't map I/O space"); + printf(" can't map I/O space"); return; } |