mirror of
https://git.hardenedbsd.org/hardenedbsd/HardenedBSD.git
synced 2024-12-29 06:47:21 +01:00
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:
parent
0835ddc766
commit
a2e4bd70ec
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=267690
@ -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;
|
||||||
|
Loading…
Reference in New Issue
Block a user