diff options
author | Brad Smith <brad@cvs.openbsd.org> | 2006-02-02 22:13:05 +0000 |
---|---|---|
committer | Brad Smith <brad@cvs.openbsd.org> | 2006-02-02 22:13:05 +0000 |
commit | 2ada022defd30bac9aff030e44ec710b08cb1f91 (patch) | |
tree | 61467fd7d92c1274b8ba89ca8714fc80563b840f /sys | |
parent | 8d0ab014a08a4b1c15b11b991a2f648ad3ef133a (diff) |
make an exposed printf for debugging a debug printf and add a few commas
in the dmesg printing to make the dmesg entry look a little nicer.
ok mickey@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/ciss.c | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/ciss.c b/sys/dev/ic/ciss.c index 5823e4c59d2..ea7ceb9fe61 100644 --- a/sys/dev/ic/ciss.c +++ b/sys/dev/ic/ciss.c @@ -1,4 +1,4 @@ -/* $OpenBSD: ciss.c,v 1.12 2005/12/13 15:55:58 brad Exp $ */ +/* $OpenBSD: ciss.c,v 1.13 2006/02/02 22:13:04 brad Exp $ */ /* * Copyright (c) 2005 Michael Shalayeff @@ -317,7 +317,7 @@ ciss_attach(struct ciss_softc *sc) sc->maxunits = inq->numld; sc->nbus = inq->nscsi_bus; sc->ndrives = inq->buswidth; - printf(": %d LD%s HW rev %d FW %4.4s/%4.4s\n", + printf(": %d LD%s, HW rev %d, FW %4.4s/%4.4s\n", inq->numld, inq->numld == 1? "" : "s", inq->hw_rev, inq->fw_running, inq->fw_stored); @@ -703,7 +703,9 @@ ciss_ldmap(struct ciss_softc *sc) if (rv) return rv; -printf("lmap %x:%x ", lmap->map[0].tgt, lmap->map[0].tgt2); + + CISS_DPRINTF(CISS_D_MISC, ("lmap %x:%x\n" + lmap->map[0].tgt, lmap->map[0].tgt2)); return 0; } |