Commit 4c86d5a7 authored by James Bottomley's avatar James Bottomley Committed by James Bottomley

add channel to struct scsi_target

this may be temporary depending on how
the channel issue is resolved for qla1280
parent d5365c0f
......@@ -783,6 +783,7 @@ int scsi_sysfs_target_initialize(struct scsi_device *sdev)
"target%d:%d:%d",
shost->host_no, sdev->channel, sdev->id);
starget->id = sdev->id;
starget->channel = sdev->channel;
create = starget->create = 1;
/*
* If there wasn't another lun already configured at
......
......@@ -137,6 +137,7 @@ struct scsi_device {
struct scsi_target {
struct scsi_device *starget_sdev_user;
struct device dev;
unsigned int channel;
unsigned int id; /* target id ... replace
* scsi_device.id eventually */
struct class_device transport_classdev;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment