svn commit: r241382 - stable/8/sys/dev/tws
Jim Harris
jimharris at FreeBSD.org
Tue Oct 9 19:59:22 UTC 2012
Author: jimharris
Date: Tue Oct 9 19:59:22 2012
New Revision: 241382
URL: http://svn.freebsd.org/changeset/base/241382
Log:
MFC r240901:
Use CAM_SEL_TIMEOUT and CAM_DEV_NOT_THERE to report missing targets or
LUNs respectively. This removes a huge number of error messages
from CAM during bus scans.
Modified:
stable/8/sys/dev/tws/tws_cam.c
Directory Properties:
stable/8/sys/ (props changed)
stable/8/sys/dev/ (props changed)
stable/8/sys/dev/tws/ (props changed)
Modified: stable/8/sys/dev/tws/tws_cam.c
==============================================================================
--- stable/8/sys/dev/tws/tws_cam.c Tue Oct 9 19:57:18 2012 (r241381)
+++ stable/8/sys/dev/tws/tws_cam.c Tue Oct 9 19:59:22 2012 (r241382)
@@ -529,10 +529,10 @@ tws_scsi_err_complete(struct tws_request
if ( ccb->ccb_h.target_lun ) {
TWS_TRACE_DEBUG(sc, "invalid lun error",0,0);
- ccb->ccb_h.status |= CAM_LUN_INVALID;
+ ccb->ccb_h.status |= CAM_DEV_NOT_THERE;
} else {
TWS_TRACE_DEBUG(sc, "invalid target error",0,0);
- ccb->ccb_h.status |= CAM_TID_INVALID;
+ ccb->ccb_h.status |= CAM_SEL_TIMEOUT;
}
} else {
More information about the svn-src-all
mailing list