Subject: [PATCH] myri10ge: always re-enable dummy rdmas in myri10ge_resume

From: Brice Goglin <[email-masked]>
Date: Wed, 09 Aug 2006 00:07:53 -0400

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 <[email-masked]>
---
 drivers/net/myri10ge/myri10ge.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Index: linux-mm/drivers/net/myri10ge/myri10ge.c
===================================================================
--- linux-mm.orig/drivers/net/myri10ge/myri10ge.c	2006-08-06 07:35:49.000000000 -0400
+++ linux-mm/drivers/net/myri10ge/myri10ge.c	2006-08-06 07:36:52.000000000 -0400
@@ -2418,7 +2418,7 @@
 	}
 
 	myri10ge_reset(mgp);
-	myri10ge_dummy_rdma(mgp, mgp->tx.boundary != 4096);
+	myri10ge_dummy_rdma(mgp, 1);
 
 	/* Save configuration space to be restored if the
 	 * nic resets due to a parity error */