aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/mse
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1996-06-02 18:57:17 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1996-06-02 18:57:17 +0000
commit89cabf8664d5ab35d6d4c9271ca3b8cbbaf9fc80 (patch)
tree1a631414d50c3f9f98d4570ac62346eb87dcab97 /sys/dev/mse
parent1d95dc910b964be4cb536afc0d28f341e4788f3d (diff)
downloadsrc-89cabf8664d5ab35d6d4c9271ca3b8cbbaf9fc80.tar.gz
src-89cabf8664d5ab35d6d4c9271ca3b8cbbaf9fc80.zip
Hide the ``wrong signature'' message behind bootverbose. It's
annoying for people who don't have a bus mouse.
Notes
Notes: svn path=/head/; revision=16074
Diffstat (limited to 'sys/dev/mse')
-rw-r--r--sys/dev/mse/mse.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mse/mse.c b/sys/dev/mse/mse.c
index efa306500403..b3d665369d8e 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);
}
}