summaryrefslogtreecommitdiff
path: root/sys/dev/ic/aic79xx.c
diff options
context:
space:
mode:
authorBrad Smith <brad@cvs.openbsd.org>2005-11-20 03:59:00 +0000
committerBrad Smith <brad@cvs.openbsd.org>2005-11-20 03:59:00 +0000
commitf24ba191ab84d1ef2a8e907da778966d91cd1ec8 (patch)
tree294d06f843bfd5b19650a2676b780170ae0c6f3b /sys/dev/ic/aic79xx.c
parentebc4b5a0a1d67957a3f980554fead438a6060078 (diff)
fix dmesg printing so the adapter info has a proper dmesg entry
before.. aic7902: U320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs after.. ahd0: aic7902, U320 Wide Channel A, SCSI Id=7, PCI-X 67-100Mhz, 512 SCBs ok krw@ marco@
Diffstat (limited to 'sys/dev/ic/aic79xx.c')
-rw-r--r--sys/dev/ic/aic79xx.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/dev/ic/aic79xx.c b/sys/dev/ic/aic79xx.c
index efe9573b526..ed96571ca6c 100644
--- a/sys/dev/ic/aic79xx.c
+++ b/sys/dev/ic/aic79xx.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic79xx.c,v 1.28 2005/10/04 23:52:04 krw Exp $ */
+/* $OpenBSD: aic79xx.c,v 1.29 2005/11/20 03:58:59 brad Exp $ */
/*
* Copyright (c) 2004 Milos Urbanek, Kenneth R. Westerback & Marco Peereboom
@@ -6155,8 +6155,8 @@ ahd_alloc_scbs(struct ahd_softc *ahd)
void
ahd_controller_info(struct ahd_softc *ahd, char *buf, size_t bufsz)
{
- snprintf(buf, bufsz, "%s: U320 %s Channel %c, SCSI Id=%d, %s, %d SCBs",
- ahd_chip_names[ahd->chip & AHD_CHIPID_MASK],
+ snprintf(buf, bufsz, "%s: %s, U320 %s Channel %c, SCSI Id=%d, %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);