summaryrefslogtreecommitdiffstats
path: root/sys/dev/mcd
diff options
context:
space:
mode:
authorjoerg <joerg@FreeBSD.org>1996-01-23 22:55:08 +0000
committerjoerg <joerg@FreeBSD.org>1996-01-23 22:55:08 +0000
commitaf65cb03e8106719db18126698a8dde25a4e57b4 (patch)
treeec4a5b77c3ab4ad936cc5931d9d50b506137d958 /sys/dev/mcd
parent9516aa2cafa23657dcba24410ae70f85a607f592 (diff)
downloadFreeBSD-src-af65cb03e8106719db18126698a8dde25a4e57b4.zip
FreeBSD-src-af65cb03e8106719db18126698a8dde25a4e57b4.tar.gz
Hide the probe warnings behind `bootverbose'.
Diffstat (limited to 'sys/dev/mcd')
-rw-r--r--sys/dev/mcd/mcd.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/sys/dev/mcd/mcd.c b/sys/dev/mcd/mcd.c
index 783df8e..0c2ca55 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 <sys/disklabel.h>
#include <sys/devconf.h>
#include <sys/kernel.h>
+#include <machine/cpu.h>
#ifdef DEVFS
#include <sys/devfsext.h>
#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;
}
OpenPOWER on IntegriCloud