summaryrefslogtreecommitdiff
path: root/sys/dev/pci/qle.c
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2014-02-20 20:20:29 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2014-02-20 20:20:29 +0000
commitaaa8590e6416862a230ce7a501fab0ba04606000 (patch)
tree9286bb5742714685d3878190e49931716ae95e57 /sys/dev/pci/qle.c
parent58f7e1bc76a2ea395ca21db8c1bdd6fc48789f22 (diff)
More turd shining; cleanup the message that prints the firmware revision and
attributes. ok dlg@, jmatthew@
Diffstat (limited to 'sys/dev/pci/qle.c')
-rw-r--r--sys/dev/pci/qle.c6
1 files changed, 3 insertions, 3 deletions
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;