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.
This commit is contained in:
Hiren Panchasara 2014-06-20 21:18:35 +00:00
parent 0835ddc766
commit a2e4bd70ec
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267690

View File

@ -2449,8 +2449,11 @@ mpt_cam_event(struct mpt_softc *mpt, request_t *req,
pqf = (PTR_EVENT_DATA_QUEUE_FULL)msg->Data; pqf = (PTR_EVENT_DATA_QUEUE_FULL)msg->Data;
pqf->CurrentDepth = le16toh(pqf->CurrentDepth); pqf->CurrentDepth = le16toh(pqf->CurrentDepth);
mpt_prt(mpt, "QUEUE FULL EVENT: Bus 0x%02x Target 0x%02x Depth " if (bootverbose) {
"%d\n", pqf->Bus, pqf->TargetID, pqf->CurrentDepth); 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, if (mpt->phydisk_sim && mpt_is_raid_member(mpt,
pqf->TargetID) != 0) { pqf->TargetID) != 0) {
sim = mpt->phydisk_sim; sim = mpt->phydisk_sim;