summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2010-11-02 14:55:02 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2010-11-02 14:55:02 +0000
commitb24b04de8a603a98ef718cc757fd1ccbe8696801 (patch)
tree14b60b6d204fc8bde4791ae4f71b31242037376b /sys/dev
parent86211cdd82533b35880c9856e39f699656bba1cb (diff)
Add DEBUG0 printf() for unexpected reselects. No functional change.
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/trm.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/sys/dev/ic/trm.c b/sys/dev/ic/trm.c
index 0f5e958a3a1..07290996fd0 100644
--- a/sys/dev/ic/trm.c
+++ b/sys/dev/ic/trm.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: trm.c,v 1.25 2010/11/02 14:37:56 krw Exp $
+/* $OpenBSD: trm.c,v 1.26 2010/11/02 14:55:01 krw Exp $
* ------------------------------------------------------------
* O.S : OpenBSD
* File Name : trm.c
@@ -1525,6 +1525,10 @@ trm_MsgInPhase0(struct trm_softc *sc, struct trm_scsi_req_q *pSRB, u_int8_t *psc
pDCB->pActiveSRB = pSRB;
pSRB->SRBState = TRM_DATA_XFER;
} else {
+#ifdef TRM_DEBUG0
+ printf("%s: TRM_UNEXPECT_RESEL!\n",
+ sc->sc_device.dv_xname);
+#endif
pSRB = &sc->SRB[0];
pSRB->SRBState = TRM_UNEXPECT_RESEL;
pDCB->pActiveSRB = pSRB;