summaryrefslogtreecommitdiffstats
path: root/sys/dev/ciss/ciss.c
diff options
context:
space:
mode:
authormav <mav@FreeBSD.org>2013-04-14 09:55:48 +0000
committermav <mav@FreeBSD.org>2013-04-14 09:55:48 +0000
commit3d32e6b10c85bbbaea953937412778787bba3629 (patch)
treedf9949ed179b54ed307f0058d4d461e9e3179b33 /sys/dev/ciss/ciss.c
parentf73c311ca37f75cf30157cd16614f936361e956b (diff)
downloadFreeBSD-src-3d32e6b10c85bbbaea953937412778787bba3629.zip
FreeBSD-src-3d32e6b10c85bbbaea953937412778787bba3629.tar.gz
MFprojects/camlock r248982:
Stop abusing xpt_periph in random plases that really have no periph related to CCB, for example, bus scanning. NULL value is fine in such cases and it is correctly logged in debug messages as "noperiph". If at some point we need some real XPT periphs (alike to pmpX now), quite likely they will be per-bus, and not a single global instance as xpt_periph now.
Diffstat (limited to 'sys/dev/ciss/ciss.c')
-rw-r--r--sys/dev/ciss/ciss.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/ciss/ciss.c b/sys/dev/ciss/ciss.c
index 3683931..1444982 100644
--- a/sys/dev/ciss/ciss.c
+++ b/sys/dev/ciss/ciss.c
@@ -2913,7 +2913,7 @@ ciss_cam_rescan_target(struct ciss_softc *sc, int bus, int target)
return;
}
- if (xpt_create_path(&ccb->ccb_h.path, xpt_periph,
+ if (xpt_create_path(&ccb->ccb_h.path, NULL,
cam_sim_path(sc->ciss_cam_sim[bus]),
target, CAM_LUN_WILDCARD) != CAM_REQ_CMP) {
ciss_printf(sc, "rescan failed (can't create path)\n");
OpenPOWER on IntegriCloud