summaryrefslogtreecommitdiff
path: root/sys/dev/ic
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2004-01-05 01:09:19 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2004-01-05 01:09:19 +0000
commit726cebb18378814de049deadea0b06bcd4e46a46 (patch)
treea723cb2664ec92d606c2f94f2528dfb2c1dbad8e /sys/dev/ic
parentc98457f0af8ca7370b397738ff2c441700d3a184 (diff)
Reduce ahc verbosity. Put chip details inside an if (bootverbose) {}
block. Put irq on first ahc line after 'rev 0xYY', rather than a separate line. ok deraadt@.
Diffstat (limited to 'sys/dev/ic')
-rw-r--r--sys/dev/ic/aic7xxx_openbsd.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/sys/dev/ic/aic7xxx_openbsd.c b/sys/dev/ic/aic7xxx_openbsd.c
index 3e8a861de51..bc7fa6ca4d9 100644
--- a/sys/dev/ic/aic7xxx_openbsd.c
+++ b/sys/dev/ic/aic7xxx_openbsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: aic7xxx_openbsd.c,v 1.16 2003/12/28 21:29:27 krw Exp $ */
+/* $OpenBSD: aic7xxx_openbsd.c,v 1.17 2004/01/05 01:09:18 krw Exp $ */
/* $NetBSD: aic7xxx_osm.c,v 1.14 2003/11/02 11:07:44 wiz Exp $ */
/*
@@ -117,8 +117,10 @@ ahc_attach(struct ahc_softc *ahc)
ahc->sc_channel_b.adapter_target = ahc->our_id_b;
}
- ahc_controller_info(ahc, ahc_info, sizeof ahc_info);
- printf("%s: %s\n", ahc->sc_dev.dv_xname, ahc_info);
+ if (bootverbose) {
+ ahc_controller_info(ahc, ahc_info, sizeof ahc_info);
+ printf("%s: %s\n", ahc->sc_dev.dv_xname, ahc_info);
+ }
ahc_intr_enable(ahc, TRUE);