mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-10 14:19:09 -04:00
[SCSI] qla2xxx: Set Maximum Read Request Size to 4K.
Signed-off-by: Giridhar Malavali <giridhar.malavali@qlogic.com> Signed-off-by: Chad Dupuis <chad.dupuis@qlogic.com> Signed-off-by: James Bottomley <JBottomley@Parallels.com>
This commit is contained in:
parent
1459c0e16d
commit
5ffd3a52bf
1 changed files with 2 additions and 2 deletions
|
|
@ -767,7 +767,7 @@ qla24xx_pci_config(scsi_qla_host_t *vha)
|
|||
|
||||
/* PCIe -- adjust Maximum Read Request Size (2048). */
|
||||
if (pci_is_pcie(ha->pdev))
|
||||
pcie_set_readrq(ha->pdev, 2048);
|
||||
pcie_set_readrq(ha->pdev, 4096);
|
||||
|
||||
pci_disable_rom(ha->pdev);
|
||||
|
||||
|
|
@ -803,7 +803,7 @@ qla25xx_pci_config(scsi_qla_host_t *vha)
|
|||
|
||||
/* PCIe -- adjust Maximum Read Request Size (2048). */
|
||||
if (pci_is_pcie(ha->pdev))
|
||||
pcie_set_readrq(ha->pdev, 2048);
|
||||
pcie_set_readrq(ha->pdev, 4096);
|
||||
|
||||
pci_disable_rom(ha->pdev);
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue