diff options
author | Brice Goglin <brice@myri.com> | 2006-08-09 00:07:53 -0400 |
---|---|---|
committer | Jeff Garzik <jeff@garzik.org> | 2006-08-09 00:12:47 -0400 |
commit | 013b68bf7cb4edfb8753aac9bde3cb60c84bc067 (patch) | |
tree | 7ce7d4a4c5e519b4a8f60ec6eff0d673bfa74fb9 /drivers/net/myri10ge | |
parent | 2f96740c26f1dcff9111dca3e01379ab12aafde5 (diff) |
[PATCH] myri10ge: always re-enable dummy rdmas in myri10ge_resume
Dummy RDMA are always enabled on device startup since commit
9a71db721a2cbb9921b929b2699ab181f5a3c6c0 (to work around buggy
PCIe chipsets which do not implement resending properly). But,
we also need to always re-enable them when resuming the device.
Signed-off-by: Brice Goglin <brice@myri.com>
Signed-off-by: Jeff Garzik <jeff@garzik.org>
Diffstat (limited to 'drivers/net/myri10ge')
-rw-r--r-- | drivers/net/myri10ge/myri10ge.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/myri10ge/myri10ge.c b/drivers/net/myri10ge/myri10ge.c index 06440a86baef..9bdd43ab3573 100644 --- a/drivers/net/myri10ge/myri10ge.c +++ b/drivers/net/myri10ge/myri10ge.c | |||
@@ -2425,7 +2425,7 @@ static int myri10ge_resume(struct pci_dev *pdev) | |||
2425 | } | 2425 | } |
2426 | 2426 | ||
2427 | myri10ge_reset(mgp); | 2427 | myri10ge_reset(mgp); |
2428 | myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096); | 2428 | myri10ge_dummy_rdma(mgp, 1); |
2429 | 2429 | ||
2430 | /* Save configuration space to be restored if the | 2430 | /* Save configuration space to be restored if the |
2431 | * nic resets due to a parity error */ | 2431 | * nic resets due to a parity error */ |