mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-18 10:35:55 +00:00
Hide the probe warnings behind `bootverbose'.
This commit is contained in:
parent
dd7610fca4
commit
7a8a029a66
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=13598
@ -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;
|
||||
}
|
||||
|
||||
|
@ -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;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user