summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ibmvscsi
diff options
context:
space:
mode:
authorFUJITA Tomonori <tomof@acm.org>2007-09-01 02:03:39 +0900
committerJames Bottomley <jejb@mulgrave.localdomain>2007-10-12 14:47:02 -0400
commit72e39ea7e03d0685945d177dc8cb8fe633ca9400 (patch)
treec4fa1f874e37c91f9ebd34a1a2f5828000f31fda /drivers/scsi/ibmvscsi
parent7525236d0bc7ad17eb5e0733417896cab745d6c8 (diff)
downloadop-kernel-dev-72e39ea7e03d0685945d177dc8cb8fe633ca9400.zip
op-kernel-dev-72e39ea7e03d0685945d177dc8cb8fe633ca9400.tar.gz
[SCSI] srp_transport: convert to use supported_mode attribute
srp transport works for target drivers without supported_mode attribute but it would be better to use it explicitly. Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> Signed-off-by: James Bottomley <James.Bottomley@SteelEye.com>
Diffstat (limited to 'drivers/scsi/ibmvscsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvstgt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvstgt.c b/drivers/scsi/ibmvscsi/ibmvstgt.c
index 3db03dd..82bcab6 100644
--- a/drivers/scsi/ibmvscsi/ibmvstgt.c
+++ b/drivers/scsi/ibmvscsi/ibmvstgt.c
@@ -820,6 +820,7 @@ static struct scsi_host_template ibmvstgt_sht = {
.eh_abort_handler = ibmvstgt_eh_abort_handler,
.shost_attrs = ibmvstgt_attrs,
.proc_name = TGT_NAME,
+ .supported_mode = MODE_TARGET,
};
static int ibmvstgt_probe(struct vio_dev *dev, const struct vio_device_id *id)
OpenPOWER on IntegriCloud