summaryrefslogtreecommitdiff
path: root/sys/dev/pci
diff options
context:
space:
mode:
authorMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-22 03:02:59 +0000
committerMike Belopuhov <mikeb@cvs.openbsd.org>2014-01-22 03:02:59 +0000
commitc761838eb02618d589dc1734ce78c9ecf7e5d2d5 (patch)
treeeb8b7b0fefa8b5b4a19ec5cb2bc3897ea4fb6d65 /sys/dev/pci
parent129783aa54f62f454927253463960894b4a21328 (diff)
fixup a few debug printfs; pointed out by jsg@
Diffstat (limited to 'sys/dev/pci')
-rw-r--r--sys/dev/pci/mpii.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/pci/mpii.c b/sys/dev/pci/mpii.c
index 26914d99367..67a91874b34 100644
--- a/sys/dev/pci/mpii.c
+++ b/sys/dev/pci/mpii.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: mpii.c,v 1.73 2013/12/04 17:07:43 mikeb Exp $ */
+/* $OpenBSD: mpii.c,v 1.74 2014/01/22 03:02:58 mikeb Exp $ */
/*
* Copyright (c) 2010, 2012 Mike Belopuhov
* Copyright (c) 2009 James Giannoules
@@ -2170,9 +2170,9 @@ mpii_req_cfg_page(struct mpii_softc *sc, u_int32_t address, int flags,
}
cp = ccb->ccb_rcb->rcb_reply;
- DNPRINTF(MPII_D_MISC, "%s: action: 0x%02x sglflags: 0x%02x "
- "msg_length: %d function: 0x%02x\n", DEVNAME(sc), cp->action,
- cp->msg_length, cp->function);
+ DNPRINTF(MPII_D_MISC, "%s: action: 0x%02x msg_length: %d "
+ "function: 0x%02x\n", DEVNAME(sc), cp->action, cp->msg_length,
+ cp->function);
DNPRINTF(MPII_D_MISC, "%s: ext_page_length: %d ext_page_type: 0x%02x "
"msg_flags: 0x%02x\n", DEVNAME(sc),
letoh16(cp->ext_page_length), cp->ext_page_type,
@@ -2547,7 +2547,7 @@ mpii_poll(struct mpii_softc *sc, struct mpii_ccb *ccb)
void *cookie;
int rv = 1;
- DNPRINTF(MPII_D_INTR, "%s: mpii_complete %d\n", DEVNAME(sc));
+ DNPRINTF(MPII_D_INTR, "%s: mpii_poll\n", DEVNAME(sc));
done = ccb->ccb_done;
cookie = ccb->ccb_cookie;