diff options
author | joerg <joerg@FreeBSD.org> | 1996-06-02 18:57:17 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1996-06-02 18:57:17 +0000 |
commit | 919436ccb7acc0f0c2629b0977280bed62b2be21 (patch) | |
tree | 1a631414d50c3f9f98d4570ac62346eb87dcab97 | |
parent | b5bea7dc4e3284c0692212c90e474538860e40d4 (diff) | |
download | FreeBSD-src-919436ccb7acc0f0c2629b0977280bed62b2be21.zip FreeBSD-src-919436ccb7acc0f0c2629b0977280bed62b2be21.tar.gz |
Hide the ``wrong signature'' message behind bootverbose. It's
annoying for people who don't have a bus mouse.
-rw-r--r-- | sys/dev/mse/mse.c | 6 | ||||
-rw-r--r-- | sys/i386/isa/mse.c | 6 |
2 files changed, 8 insertions, 4 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c index efa3065..b3d6653 100644 --- a/sys/dev/mse/mse.c +++ b/sys/dev/mse/mse.c @@ -11,7 +11,7 @@ * this software for any purpose. It is provided "as is" * without express or implied warranty. * - * $Id: mse.c,v 1.24 1995/12/15 00:54:25 bde Exp $ + * $Id: mse.c,v 1.25 1996/03/28 14:28:46 scrappy Exp $ */ /* * Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and @@ -60,6 +60,7 @@ #endif /*DEVFS*/ #include <machine/clock.h> +#include <machine/cpu.h> #include <i386/isa/isa_device.h> #include <i386/isa/icu.h> @@ -476,7 +477,8 @@ mse_probelogi(idp) outb(idp->id_iobase + MSE_PORTC, MSE_DISINTR); return(1); } else { - printf("mse%d: wrong signature %x\n",idp->id_unit,sig); + if (bootverbose) + printf("mse%d: wrong signature %x\n",idp->id_unit,sig); return(0); } } diff --git a/sys/i386/isa/mse.c b/sys/i386/isa/mse.c index efa3065..b3d6653 100644 --- a/sys/i386/isa/mse.c +++ b/sys/i386/isa/mse.c @@ -11,7 +11,7 @@ * this software for any purpose. It is provided "as is" * without express or implied warranty. * - * $Id: mse.c,v 1.24 1995/12/15 00:54:25 bde Exp $ + * $Id: mse.c,v 1.25 1996/03/28 14:28:46 scrappy Exp $ */ /* * Driver for the Logitech and ATI Inport Bus mice for use with 386bsd and @@ -60,6 +60,7 @@ #endif /*DEVFS*/ #include <machine/clock.h> +#include <machine/cpu.h> #include <i386/isa/isa_device.h> #include <i386/isa/icu.h> @@ -476,7 +477,8 @@ mse_probelogi(idp) outb(idp->id_iobase + MSE_PORTC, MSE_DISINTR); return(1); } else { - printf("mse%d: wrong signature %x\n",idp->id_unit,sig); + if (bootverbose) + printf("mse%d: wrong signature %x\n",idp->id_unit,sig); return(0); } } |