summaryrefslogtreecommitdiff
path: root/sys/dev/isci
diff options
context:
space:
mode:
authorAlexander Motin <mav@FreeBSD.org>2013-04-14 09:55:48 +0000
committerAlexander Motin <mav@FreeBSD.org>2013-04-14 09:55:48 +0000
commite5dfa058dab8fa6b71f15a4212dc1ec68b04bfea (patch)
treedf9949ed179b54ed307f0058d4d461e9e3179b33 /sys/dev/isci
parentcccf422080e22281bbcb96e29128a89ce00cd4d4 (diff)
Notes
Diffstat (limited to 'sys/dev/isci')
-rw-r--r--sys/dev/isci/isci_controller.c2
-rw-r--r--sys/dev/isci/isci_domain.c2
-rw-r--r--sys/dev/isci/isci_remote_device.c6
3 files changed, 5 insertions, 5 deletions
diff --git a/sys/dev/isci/isci_controller.c b/sys/dev/isci/isci_controller.c
index c0a1758efa30..0760f34e58e4 100644
--- a/sys/dev/isci/isci_controller.c
+++ b/sys/dev/isci/isci_controller.c
@@ -580,7 +580,7 @@ void isci_controller_domain_discovery_complete(
*/
union ccb *ccb = xpt_alloc_ccb_nowait();
- xpt_create_path(&ccb->ccb_h.path, xpt_periph,
+ xpt_create_path(&ccb->ccb_h.path, NULL,
cam_sim_path(isci_controller->sim),
CAM_TARGET_WILDCARD, CAM_LUN_WILDCARD);
diff --git a/sys/dev/isci/isci_domain.c b/sys/dev/isci/isci_domain.c
index 834c1c248cb8..a5df4715630a 100644
--- a/sys/dev/isci/isci_domain.c
+++ b/sys/dev/isci/isci_domain.c
@@ -300,7 +300,7 @@ scif_cb_domain_device_removed(SCI_CONTROLLER_HANDLE_T controller,
isci_controller->remote_device[isci_remote_device->index] = NULL;
- xpt_create_path(&ccb->ccb_h.path, xpt_periph, path,
+ xpt_create_path(&ccb->ccb_h.path, NULL, path,
isci_remote_device->index, CAM_LUN_WILDCARD);
xpt_rescan(ccb);
diff --git a/sys/dev/isci/isci_remote_device.c b/sys/dev/isci/isci_remote_device.c
index b359287a43d0..0640d50f9c08 100644
--- a/sys/dev/isci/isci_remote_device.c
+++ b/sys/dev/isci/isci_remote_device.c
@@ -83,7 +83,7 @@ scif_cb_remote_device_ready(SCI_CONTROLLER_HANDLE_T controller,
*/
union ccb *ccb = xpt_alloc_ccb_nowait();
- xpt_create_path(&ccb->ccb_h.path, xpt_periph,
+ xpt_create_path(&ccb->ccb_h.path, NULL,
cam_sim_path(isci_controller->sim),
isci_remote_device->index, CAM_LUN_WILDCARD);
@@ -262,7 +262,7 @@ isci_remote_device_freeze_lun_queue(struct ISCI_REMOTE_DEVICE *remote_device,
if (!(remote_device->frozen_lun_mask & (1 << lun))) {
struct cam_path *path;
- xpt_create_path(&path, xpt_periph,
+ xpt_create_path(&path, NULL,
cam_sim_path(remote_device->domain->controller->sim),
remote_device->index, lun);
xpt_freeze_devq(path, 1);
@@ -279,7 +279,7 @@ isci_remote_device_release_lun_queue(struct ISCI_REMOTE_DEVICE *remote_device,
struct cam_path *path;
remote_device->frozen_lun_mask &= ~(1 << lun);
- xpt_create_path(&path, xpt_periph,
+ xpt_create_path(&path, NULL,
cam_sim_path(remote_device->domain->controller->sim),
remote_device->index, lun);
xpt_release_devq(path, 1, TRUE);