summaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorkrw <krw@openbsd.org>2004-12-10 03:44:00 +0000
committerkrw <krw@openbsd.org>2004-12-10 03:44:00 +0000
commitb0cbb863db1a4e4376ad1b47c60d41a9239a42c7 (patch)
treebcef5cfade26694d35c26b3d1f8e5f8e0f53ce62 /sys
parentsync to recent rate limiting changes (diff)
downloadwireguard-openbsd-b0cbb863db1a4e4376ad1b47c60d41a9239a42c7.tar.xz
wireguard-openbsd-b0cbb863db1a4e4376ad1b47c60d41a9239a42c7.zip
Include scsi id in debug message for queued SCB's.
From FreeBSD aic79xx_inline.h r1.16.
Diffstat (limited to 'sys')
-rw-r--r--sys/dev/ic/aic79xx.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index 1d44bfbf24e..7362b5d0b8b 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.16 2004/11/23 05:15:35 krw Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.17 2004/12/10 03:44:00 krw Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -10825,9 +10825,10 @@ ahd_queue_scb(struct ahd_softc *ahd, struct scb *scb)
uint64_t host_dataptr;
host_dataptr = aic_le64toh(scb->hscb->dataptr);
- printf("%s: Queueing SCB 0x%x bus addr 0x%x - 0x%x%x/0x%x\n",
+ printf("%s: Queueing SCB %d:0x%x bus addr 0x%x - 0x%x%x/0x%x\n",
ahd_name(ahd),
- SCB_GET_TAG(scb), aic_le32toh(scb->hscb->hscb_busaddr),
+ SCB_GET_TAG(scb), scb->hscb->scsiid,
+ aic_le32toh(scb->hscb->hscb_busaddr),
(u_int)((host_dataptr >> 32) & 0xFFFFFFFF),
(u_int)(host_dataptr & 0xFFFFFFFF),
aic_le32toh(scb->hscb->datacnt));