diff options
author | mjacob <mjacob@FreeBSD.org> | 2010-02-23 00:34:20 +0000 |
---|---|---|
committer | mjacob <mjacob@FreeBSD.org> | 2010-02-23 00:34:20 +0000 |
commit | 7881322c02f867a619a3564a0d2b86ac955c3ee5 (patch) | |
tree | 905107ca0aa9f8fc4eed27d5144274a09e4a6d5b | |
parent | 79836e2e5810d99956566c16cbe92cffe46d6b70 (diff) | |
download | FreeBSD-src-7881322c02f867a619a3564a0d2b86ac955c3ee5.zip FreeBSD-src-7881322c02f867a619a3564a0d2b86ac955c3ee5.tar.gz |
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
-rw-r--r-- | sys/dev/isp/isp_freebsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/isp/isp_freebsd.c b/sys/dev/isp/isp_freebsd.c index cd6ec09..7e1fa85 100644 --- a/sys/dev/isp/isp_freebsd.c +++ b/sys/dev/isp/isp_freebsd.c @@ -3892,7 +3892,7 @@ isp_make_here(ispsoftc_t *isp, int chan, int tgt) 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; |