From 7a8a029a6624602b3150d2d95c13e2ecfc707f9e Mon Sep 17 00:00:00 2001 From: Joerg Wunsch Date: Tue, 23 Jan 1996 22:55:08 +0000 Subject: [PATCH] Hide the probe warnings behind `bootverbose'. --- sys/dev/mcd/mcd.c | 6 ++++-- sys/i386/isa/mcd.c | 6 ++++-- 2 files changed, 8 insertions(+), 4 deletions(-) diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c index 783df8e8dc12..0c2ca5585c76 100644 --- a/sys/dev/mcd/mcd.c +++ b/sys/dev/mcd/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.57 1995/12/22 15:52:07 phk Exp $ + * $Id: mcd.c,v 1.58 1996/01/15 10:28:29 phk Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -62,6 +62,7 @@ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include #include #include +#include #ifdef DEVFS #include #endif /*DEVFS*/ @@ -742,7 +743,8 @@ twiddle_thumbs(int port, int unit, int count, char *whine) if (!(inb(port+MCD_FLAGS) & MFL_STATUS_NOT_AVAIL)) return 1; } - printf("mcd%d: timeout %s\n", unit, whine); + if (bootverbose) + printf("mcd%d: timeout %s\n", unit, whine); return 0; } diff --git a/sys/i386/isa/mcd.c b/sys/i386/isa/mcd.c index 783df8e8dc12..0c2ca5585c76 100644 --- a/sys/i386/isa/mcd.c +++ b/sys/i386/isa/mcd.c @@ -40,7 +40,7 @@ * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. * - * $Id: mcd.c,v 1.57 1995/12/22 15:52:07 phk Exp $ + * $Id: mcd.c,v 1.58 1996/01/15 10:28:29 phk Exp $ */ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; @@ -62,6 +62,7 @@ static char COPYRIGHT[] = "mcd-driver (C)1993 by H.Veit & B.Moore"; #include #include #include +#include #ifdef DEVFS #include #endif /*DEVFS*/ @@ -742,7 +743,8 @@ twiddle_thumbs(int port, int unit, int count, char *whine) if (!(inb(port+MCD_FLAGS) & MFL_STATUS_NOT_AVAIL)) return 1; } - printf("mcd%d: timeout %s\n", unit, whine); + if (bootverbose) + printf("mcd%d: timeout %s\n", unit, whine); return 0; }