diff options
author | Abhijeet Joglekar <abjoglek@cisco.com> | 2009-10-21 16:28:19 -0700 |
---|---|---|
committer | James Bottomley <James.Bottomley@suse.de> | 2009-12-04 12:00:35 -0600 |
commit | f9bdc3da4c9c2af4886bc6a562effc05cbf75234 (patch) | |
tree | 3aea57eeee1f43905dabec0a7c1194f7be5935c8 /drivers/scsi/fnic/fnic_main.c | |
parent | d5cf4b28e13989ace24cf26de1e1debec18e9685 (diff) | |
download | kernel_samsung_tuna-f9bdc3da4c9c2af4886bc6a562effc05cbf75234.zip kernel_samsung_tuna-f9bdc3da4c9c2af4886bc6a562effc05cbf75234.tar.gz kernel_samsung_tuna-f9bdc3da4c9c2af4886bc6a562effc05cbf75234.tar.bz2 |
[SCSI] fnic: Set max_cmd_len to driver supported CDB length
Signed-off-by: Abhijeet Joglekar <abjoglek@cisco.com>
Signed-off-by: Robert Love <robert.w.love@intel.com>
Signed-off-by: James Bottomley <James.Bottomley@suse.de>
Diffstat (limited to 'drivers/scsi/fnic/fnic_main.c')
-rw-r--r-- | drivers/scsi/fnic/fnic_main.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/scsi/fnic/fnic_main.c b/drivers/scsi/fnic/fnic_main.c index 71c7bbe..b0d425a 100644 --- a/drivers/scsi/fnic/fnic_main.c +++ b/drivers/scsi/fnic/fnic_main.c @@ -560,6 +560,7 @@ static int __devinit fnic_probe(struct pci_dev *pdev, } host->max_lun = fnic->config.luns_per_tgt; host->max_id = FNIC_MAX_FCP_TARGET; + host->max_cmd_len = FNIC_MAX_CMD_LEN; fnic_get_res_counts(fnic); |