summaryrefslogtreecommitdiffstats
path: root/drivers/scsi
diff options
context:
space:
mode:
authorBrian King <brking@linux.vnet.ibm.com>2009-06-08 16:19:01 -0500
committerJames Bottomley <James.Bottomley@HansenPartnership.com>2009-06-08 18:05:15 -0500
commitfbc56f0801f58041a4372a030933bac076b46aad (patch)
tree023a63d8cc50099e683f4864ef6c7cef49402708 /drivers/scsi
parent714df9399b3d2c0a7484e8cfb7c9cb100b0b7f19 (diff)
downloadop-kernel-dev-fbc56f0801f58041a4372a030933bac076b46aad.zip
op-kernel-dev-fbc56f0801f58041a4372a030933bac076b46aad.tar.gz
[SCSI] ibmvscsi: Add 16 byte CDB support
Adds support for 16 byte CDBs to the ibmvscsi driver. Signed-off-by: Brian King <brking@linux.vnet.ibm.com> Signed-off-by: James Bottomley <James.Bottomley@HansenPartnership.com>
Diffstat (limited to 'drivers/scsi')
-rw-r--r--drivers/scsi/ibmvscsi/ibmvscsi.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/ibmvscsi/ibmvscsi.c b/drivers/scsi/ibmvscsi/ibmvscsi.c
index 8d3925f..9804b42 100644
--- a/drivers/scsi/ibmvscsi/ibmvscsi.c
+++ b/drivers/scsi/ibmvscsi/ibmvscsi.c
@@ -1684,6 +1684,7 @@ static int ibmvscsi_probe(struct vio_dev *vdev, const struct vio_device_id *id)
host->max_lun = 8;
host->max_id = max_id;
host->max_channel = max_channel;
+ host->max_cmd_len = 16;
if (scsi_add_host(hostdata->host, hostdata->dev))
goto add_host_failed;
OpenPOWER on IntegriCloud