PERFORCE change 117568 for review
Matt Jacob
mjacob at FreeBSD.org
Sat Apr 7 04:03:16 UTC 2007
http://perforce.freebsd.org/chv.cgi?CH=117568
Change 117568 by mjacob at mjexp on 2007/04/07 04:03:15
Hide bus reset messages within bootverbose
MFP4 after: 1 days
Affected files ...
.. //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#14 edit
Differences ...
==== //depot/projects/mjexp/sys/dev/mpt/mpt_cam.c#14 (text+ko) ====
@@ -2963,8 +2963,13 @@
break;
}
case XPT_RESET_DEV:
- xpt_print(ccb->ccb_h.path, "reset %s\n",
- ccb->ccb_h.func_code == XPT_RESET_BUS? "bus" : "device");
+ if (ccb->ccb_h.func_code == XPT_RESET_BUS) {
+ if (bootverbose) {
+ xpt_print(ccb->ccb_h.path, "reset bus\n");
+ }
+ } else {
+ xpt_print(ccb->ccb_h.path, "reset device\n");
+ }
CAMLOCK_2_MPTLOCK(mpt);
(void) mpt_bus_reset(mpt, tgt, lun, FALSE);
MPTLOCK_2_CAMLOCK(mpt);
More information about the p4-projects
mailing list