Author: hiren
Date: Fri Jun 27 05:37:00 2014
New Revision: 267950
URL: http://svnweb.freebsd.org/changeset/base/267950

Log:
  MFC r267690
  
  Hide a harmless "QUEUE FULL EVENT" message behind bootverbose.

Modified:
  stable/10/sys/dev/mpt/mpt_cam.c

Modified: stable/10/sys/dev/mpt/mpt_cam.c
==============================================================================
--- stable/10/sys/dev/mpt/mpt_cam.c     Fri Jun 27 05:27:37 2014        
(r267949)
+++ stable/10/sys/dev/mpt/mpt_cam.c     Fri Jun 27 05:37:00 2014        
(r267950)
@@ -2449,8 +2449,11 @@ mpt_cam_event(struct mpt_softc *mpt, 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;
_______________________________________________
svn-src-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-all
To unsubscribe, send any mail to "svn-src-all-unsubscr...@freebsd.org"

Reply via email to