diff options
author | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-02-20 20:20:29 +0000 |
---|---|---|
committer | Mark Kettenis <kettenis@cvs.openbsd.org> | 2014-02-20 20:20:29 +0000 |
commit | aaa8590e6416862a230ce7a501fab0ba04606000 (patch) | |
tree | 9286bb5742714685d3878190e49931716ae95e57 /sys | |
parent | 58f7e1bc76a2ea395ca21db8c1bdd6fc48789f22 (diff) |
More turd shining; cleanup the message that prints the firmware revision and
attributes.
ok dlg@, jmatthew@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/ic/qla.c | 6 | ||||
-rw-r--r-- | sys/dev/pci/qle.c | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/qla.c b/sys/dev/ic/qla.c index b60e2ddf475..194dc871139 100644 --- a/sys/dev/ic/qla.c +++ b/sys/dev/ic/qla.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qla.c,v 1.27 2014/02/20 11:09:48 kettenis Exp $ */ +/* $OpenBSD: qla.c,v 1.28 2014/02/20 20:20:28 kettenis Exp $ */ /* * Copyright (c) 2011 David Gwynne <dlg@openbsd.org> @@ -402,8 +402,8 @@ qla_attach(struct qla_softc *sc) sc->sc_mbox[0]); return (ENXIO); } - printf("firmware v%d.%d.%d, attrs %x\n", sc->sc_mbox[1], sc->sc_mbox[2], - sc->sc_mbox[3], sc->sc_mbox[6]); + printf("%s: firmware rev %d.%d.%d, attrs 0x%x\n", DEVNAME(sc), + sc->sc_mbox[1], sc->sc_mbox[2], sc->sc_mbox[3], sc->sc_mbox[6]); if (sc->sc_mbox[6] & QLA_FW_ATTR_EXPANDED_LUN) sc->sc_expanded_lun = 1; diff --git a/sys/dev/pci/qle.c b/sys/dev/pci/qle.c index 685b2af3f8e..c99176be51f 100644 --- a/sys/dev/pci/qle.c +++ b/sys/dev/pci/qle.c @@ -1,4 +1,4 @@ -/* $OpenBSD: qle.c,v 1.11 2014/02/19 15:13:14 kettenis Exp $ */ +/* $OpenBSD: qle.c,v 1.12 2014/02/20 20:20:28 kettenis Exp $ */ /* * Copyright (c) 2013, 2014 Jonathan Matthew <jmatthew@openbsd.org> @@ -491,8 +491,8 @@ qle_attach(struct device *parent, struct device *self, void *aux) sc->sc_mbox[0]); goto deintr; } - printf("firmware v%d.%d.%d, attrs %x\n", sc->sc_mbox[1], sc->sc_mbox[2], - sc->sc_mbox[3], sc->sc_mbox[6]); + printf("%s: firmware rev %d.%d.%d, attrs 0x%x\n", DEVNAME(sc), + sc->sc_mbox[1], sc->sc_mbox[2], sc->sc_mbox[3], sc->sc_mbox[6]); sc->sc_maxcmds = 4096; |