diff options
author | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-26 01:25:38 +0000 |
---|---|---|
committer | Marco Peereboom <marco@cvs.openbsd.org> | 2006-04-26 01:25:38 +0000 |
commit | 5a83cd5661ecf89c8e58655e7edf24d7d8fab498 (patch) | |
tree | 63afba8c3cf247767a64b7ef17126ec78b32c585 /sys/dev/ic/mfi.c | |
parent | 8d1a92a7bf116579515b6972ddcadff3c581f349 (diff) |
Fix some debug prints.
Diffstat (limited to 'sys/dev/ic/mfi.c')
-rw-r--r-- | sys/dev/ic/mfi.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/ic/mfi.c b/sys/dev/ic/mfi.c index f483982485d..be4e1d092d8 100644 --- a/sys/dev/ic/mfi.c +++ b/sys/dev/ic/mfi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: mfi.c,v 1.23 2006/04/21 21:43:59 marco Exp $ */ +/* $OpenBSD: mfi.c,v 1.24 2006/04/26 01:25:37 marco Exp $ */ /* * Copyright (c) 2006 Marco Peereboom <marco@peereboom.us> * @@ -327,7 +327,7 @@ mfi_initialize_firmware(struct mfi_softc *sc) struct mfi_init_frame *init; struct mfi_init_qinfo *qinfo; - DNPRINTF(MFI_D_CMD, "mfi_initialize_firmware\n"); + DNPRINTF(MFI_D_CMD, "%s: mfi_initialize_firmware\n", DEVNAME(sc)); if ((ccb = mfi_get_ccb(sc)) == NULL) return (1); @@ -449,7 +449,7 @@ nopcq: int mfi_despatch_cmd(struct mfi_softc *sc, struct mfi_ccb *ccb) { - DNPRINTF(MFI_D_CMD, "mfi_despatch_cmd\n"); + DNPRINTF(MFI_D_CMD, "%s: mfi_despatch_cmd\n", DEVNAME(sc)); mfi_write(sc, MFI_IQP, (ccb->ccb_pframe >> 3) | ccb->ccb_extra_frames); @@ -462,7 +462,7 @@ mfi_poll(struct mfi_softc *sc, struct mfi_ccb *ccb) struct mfi_frame_header *hdr; int to = 0; - DNPRINTF(MFI_D_CMD, "mfi_poll\n"); + DNPRINTF(MFI_D_CMD, "%s: mfi_poll\n", DEVNAME(sc)); hdr = &ccb->ccb_frame->mfr_header; hdr->mfh_cmd_status = 0xff; |