diff options
author | delphij <delphij@FreeBSD.org> | 2013-07-12 21:36:29 +0000 |
---|---|---|
committer | delphij <delphij@FreeBSD.org> | 2013-07-12 21:36:29 +0000 |
commit | c77d7b2a670f6b302aa569d9e12990d111cadbbb (patch) | |
tree | 06ebd6f38a84cdeee1de4e9bdb0ebafa8f63e8a4 /sys/dev/hptnr/hptnr_osm_bsd.c | |
parent | 9998a9f62e636a9ffe4c4f7b6788bb295fb754d7 (diff) | |
download | FreeBSD-src-c77d7b2a670f6b302aa569d9e12990d111cadbbb.zip FreeBSD-src-c77d7b2a670f6b302aa569d9e12990d111cadbbb.tar.gz |
Merge from hpt27xx, r249468 (mav):
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/hptnr/hptnr_osm_bsd.c')
-rw-r--r-- | sys/dev/hptnr/hptnr_osm_bsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/hptnr/hptnr_osm_bsd.c b/sys/dev/hptnr/hptnr_osm_bsd.c index 36f99c9..7021abe 100644 --- a/sys/dev/hptnr/hptnr_osm_bsd.c +++ b/sys/dev/hptnr/hptnr_osm_bsd.c @@ -1347,7 +1347,7 @@ static int hpt_rescan_bus(void) { return(ENOMEM); } - if (xpt_create_path(&ccb->ccb_h.path, xpt_periph, cam_sim_path(vbus_ext->sim), + if (xpt_create_path(&ccb->ccb_h.path, NULL, cam_sim_path(vbus_ext->sim), CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD) != CAM_REQ_CMP) { xpt_free_ccb(ccb); |