summaryrefslogtreecommitdiff
path: root/sys/dev
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-25 18:21:49 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2008-06-25 18:21:49 +0000
commite242505846af2ed2dd01ac39c4cb8bb2a88ac8f5 (patch)
tree3087450387fa8b10ca13eb20bd0b34a3c43f20d6 /sys/dev
parent29b85d30fc3a241e22ce4203ae2829594939c4b0 (diff)
do not print scsi id, since scsibus does that now; ok krw
Diffstat (limited to 'sys/dev')
-rw-r--r--sys/dev/ic/aic79xx.c7
-rw-r--r--sys/dev/ic/aic7xxx.c11
2 files changed, 8 insertions, 10 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index bf33faba315..0753d02e3f3 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.43 2007/11/27 16:22:13 martynas Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.44 2008/06/25 18:21:48 deraadt Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -6144,11 +6144,10 @@ ahd_alloc_scbs(struct ahd_softc *ahd)
void
ahd_controller_info(struct ahd_softc *ahd, char *buf, size_t bufsz)
{
- snprintf(buf, bufsz, "%s: %s, U320 %s Channel %c, SCSI Id=%d, %s, %d SCBs",
+ snprintf(buf, bufsz, "%s: %s, U320 %s Channel %c, %s, %d SCBs",
ahd_name(ahd), ahd_chip_names[ahd->chip & AHD_CHIPID_MASK],
((ahd->features & AHD_WIDE) != 0) ? "Wide" : "Single",
- ahd->channel, ahd->our_id, ahd->bus_description,
- ahd->scb_data.maxhscbs);
+ ahd->channel, ahd->bus_description, ahd->scb_data.maxhscbs);
}
static const char *channel_strings[] = {
diff --git a/sys/dev/ic/aic7xxx.c b/sys/dev/ic/aic7xxx.c
index 4b6ee854d17..5eeb8face4e 100644
--- a/sys/dev/ic/aic7xxx.c
+++ b/sys/dev/ic/aic7xxx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx.c,v 1.80 2007/11/27 16:22:13 martynas Exp $ */
+/* $OpenBSD: aic7xxx.c,v 1.81 2008/06/25 18:21:48 deraadt Exp $ */
/* $NetBSD: aic7xxx.c,v 1.108 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -40,7 +40,7 @@
* IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGES.
*
- * $Id: aic7xxx.c,v 1.80 2007/11/27 16:22:13 martynas Exp $
+ * $Id: aic7xxx.c,v 1.81 2008/06/25 18:21:48 deraadt Exp $
*/
/*
* Ported from FreeBSD by Pascal Renauld, Network Storage Solutions, Inc. - April 2003
@@ -4450,8 +4450,7 @@ ahc_controller_info(struct ahc_softc *ahc, char *buf, size_t buf_len)
len = strlen(buf);
if ((ahc->features & AHC_TWIN) != 0)
snprintf(buf + len, buf_len - len,
- "Twin Channel, A SCSI Id=%d, B SCSI Id=%d, "
- "primary %c, ", ahc->our_id, ahc->our_id_b,
+ "Twin Channel, primary %c, ",
(ahc->flags & AHC_PRIMARY_CHANNEL) + 'A');
else {
const char *speed;
@@ -4471,8 +4470,8 @@ ahc_controller_info(struct ahc_softc *ahc, char *buf, size_t buf_len)
type = "Single";
}
snprintf(buf + len, buf_len - len,
- "%s%s Channel %c, SCSI Id=%d, ",
- speed, type, ahc->channel, ahc->our_id);
+ "%s%s Channel %c, ",
+ speed, type, ahc->channel);
}
len = strlen(buf);