svn commit: r204231 - head/sys/dev/isp
Matt Jacob
mjacob at FreeBSD.org
Tue Feb 23 00:34:21 UTC 2010
Author: mjacob
Date: Tue Feb 23 00:34:20 2010
New Revision: 204231
URL: http://svn.freebsd.org/changeset/base/204231
Log:
When we rescan, just scan from logical unit 0. In other words, don't
specify a wildcard lun here.
This unbreaks disk re-arrival.
MFC after: 2 days
Modified:
head/sys/dev/isp/isp_freebsd.c
Modified: head/sys/dev/isp/isp_freebsd.c
==============================================================================
--- head/sys/dev/isp/isp_freebsd.c Mon Feb 22 23:35:35 2010 (r204230)
+++ head/sys/dev/isp/isp_freebsd.c Tue Feb 23 00:34:20 2010 (r204231)
@@ -3892,7 +3892,7 @@ isp_make_here(ispsoftc_t *isp, int chan,
isp_prt(isp, ISP_LOGWARN, "Chan %d unable to alloc CCB for rescan", chan);
return;
}
- if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(fc->sim), tgt, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
+ if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(fc->sim), tgt, 0) != CAM_REQ_CMP) {
isp_prt(isp, ISP_LOGWARN, "unable to create path for rescan");
xpt_free_ccb(ccb);
return;
More information about the svn-src-head
mailing list