From 8c395495bf7a644e4a8bb3677ab7edbf397e55ed Mon Sep 17 00:00:00 2001 From: jtk Date: Sun, 3 Mar 1996 04:12:48 +0000 Subject: [PATCH] set ia->ia_iosize to 0 so that the probe code doesn't spit out lots of gunk. --- sys/arch/i386/isa/spkr.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/sys/arch/i386/isa/spkr.c b/sys/arch/i386/isa/spkr.c index fe0b8dab895a..3bd488ca6755 100644 --- a/sys/arch/i386/isa/spkr.c +++ b/sys/arch/i386/isa/spkr.c @@ -1,4 +1,4 @@ -/* $NetBSD: spkr.c,v 1.18 1996/02/22 05:53:28 scottr Exp $ */ +/* $NetBSD: spkr.c,v 1.19 1996/03/03 04:12:48 jtk Exp $ */ /* * spkr.c -- device driver for console speaker on 80386 @@ -24,6 +24,7 @@ #include #include +#include #include #include @@ -412,6 +413,8 @@ static struct buf *spkr_inbuf; /* incoming buf */ int spkrprobe (struct device *parent, void *match, void *aux) { + register struct isa_attach_args *ia = aux; + ia->ia_iosize = 0; return 1; }