diff options
author | Ron Mercer <ron.mercer@qlogic.com> | 2009-10-10 05:35:04 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-10-12 02:16:14 -0400 |
commit | bc9167f39ff8cd428e8577eb72751a653008edb2 (patch) | |
tree | 2c9bcd3b4ef09b24c5808effd672f32432a2b840 /drivers | |
parent | 1d1023d039d8295070b8dbb92c4d972237235304 (diff) |
qlge: Set PCIE max read request size.
Signed-off-by: Ron Mercer <ron.mercer@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/net/qlge/qlge_main.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/drivers/net/qlge/qlge_main.c b/drivers/net/qlge/qlge_main.c index 9fbded4d7195..20a118dc62e6 100644 --- a/drivers/net/qlge/qlge_main.c +++ b/drivers/net/qlge/qlge_main.c | |||
@@ -3881,6 +3881,13 @@ static int __devinit ql_init_device(struct pci_dev *pdev, | |||
3881 | qdev->pdev = pdev; | 3881 | qdev->pdev = pdev; |
3882 | pci_set_drvdata(pdev, ndev); | 3882 | pci_set_drvdata(pdev, ndev); |
3883 | 3883 | ||
3884 | /* Set PCIe read request size */ | ||
3885 | err = pcie_set_readrq(pdev, 4096); | ||
3886 | if (err) { | ||
3887 | dev_err(&pdev->dev, "Set readrq failed.\n"); | ||
3888 | goto err_out; | ||
3889 | } | ||
3890 | |||
3884 | err = pci_request_regions(pdev, DRV_NAME); | 3891 | err = pci_request_regions(pdev, DRV_NAME); |
3885 | if (err) { | 3892 | if (err) { |
3886 | dev_err(&pdev->dev, "PCI region request failed.\n"); | 3893 | dev_err(&pdev->dev, "PCI region request failed.\n"); |