From a2e4bd70ecfe2d2351eb036c05ddbc9198f80513 Mon Sep 17 00:00:00 2001 From: Hiren Panchasara Date: Fri, 20 Jun 2014 21:18:35 +0000 Subject: [PATCH] Hide a harmless "QUEUE FULL EVENT" message behind bootverbose. Requested by: A bunch of users on mailing-lists Suggested by: scottl MFC after: 1 week Sponsored by: Yahoo! inc. --- sys/dev/mpt/mpt_cam.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/sys/dev/mpt/mpt_cam.c b/sys/dev/mpt/mpt_cam.c index 7e3c140c22a4..25c4f33584f5 100644 --- a/sys/dev/mpt/mpt_cam.c +++ b/sys/dev/mpt/mpt_cam.c @@ -2449,8 +2449,11 @@ mpt_cam_event(struct mpt_softc *mpt, request_t *req, pqf = (PTR_EVENT_DATA_QUEUE_FULL)msg->Data; pqf->CurrentDepth = le16toh(pqf->CurrentDepth); - mpt_prt(mpt, "QUEUE FULL EVENT: Bus 0x%02x Target 0x%02x Depth " - "%d\n", pqf->Bus, pqf->TargetID, pqf->CurrentDepth); + if (bootverbose) { + mpt_prt(mpt, "QUEUE FULL EVENT: Bus 0x%02x Target 0x%02x " + "Depth %d\n", + pqf->Bus, pqf->TargetID, pqf->CurrentDepth); + } if (mpt->phydisk_sim && mpt_is_raid_member(mpt, pqf->TargetID) != 0) { sim = mpt->phydisk_sim;