From 726cebb18378814de049deadea0b06bcd4e46a46 Mon Sep 17 00:00:00 2001 From: Kenneth R Westerback Date: Mon, 5 Jan 2004 01:09:19 +0000 Subject: 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@. --- sys/dev/ic/aic7xxx_openbsd.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'sys/dev/ic') 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); -- cgit v1.2.3