Hide the ``wrong signature'' message behind bootverbose. It's
annoying for people who don't have a bus mouse.
This commit is contained in:
parent
1d95dc910b
commit
89cabf8664
@ -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);
|
||||
}
|
||||
}
|
||||
|
@ -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);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user