diff options
Diffstat (limited to 'drivers/message/fusion/mptsas.c')
-rw-r--r-- | drivers/message/fusion/mptsas.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/drivers/message/fusion/mptsas.c b/drivers/message/fusion/mptsas.c index 936e35ae88d4..21bd78e4f306 100644 --- a/drivers/message/fusion/mptsas.c +++ b/drivers/message/fusion/mptsas.c | |||
@@ -4761,10 +4761,9 @@ mptsas_probe(struct pci_dev *pdev, const struct pci_device_id *id) | |||
4761 | 4761 | ||
4762 | /* set 16 byte cdb's */ | 4762 | /* set 16 byte cdb's */ |
4763 | sh->max_cmd_len = 16; | 4763 | sh->max_cmd_len = 16; |
4764 | 4764 | sh->can_queue = min_t(int, ioc->req_depth - 10, sh->can_queue); | |
4765 | sh->max_id = ioc->pfacts[0].PortSCSIID; | 4765 | sh->max_id = -1; |
4766 | sh->max_lun = max_lun; | 4766 | sh->max_lun = max_lun; |
4767 | |||
4768 | sh->transportt = mptsas_transport_template; | 4767 | sh->transportt = mptsas_transport_template; |
4769 | 4768 | ||
4770 | /* Required entry. | 4769 | /* Required entry. |