Josh Boyer 0970aa
From 01ffc0a7f1c1801a2354719dedbc32aff45b987d Mon Sep 17 00:00:00 2001
Josh Boyer 0970aa
From: David Woodhouse <dwmw2@infradead.org>
Josh Boyer 0970aa
Date: Sat, 24 Nov 2012 12:11:21 +0000
Josh Boyer 0970aa
Subject: [PATCH] 8139cp: re-enable interrupts after tx timeout
Josh Boyer 0970aa
Josh Boyer 0970aa
Recovery doesn't work too well if we leave interrupts disabled...
Josh Boyer 0970aa
Josh Boyer 0970aa
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>
Josh Boyer 0970aa
Acked-by: Francois Romieu <romieu@fr.zoreil.com>
Josh Boyer 0970aa
Signed-off-by: David S. Miller <davem@davemloft.net>
Josh Boyer 0970aa
---
Josh Boyer 0970aa
 drivers/net/ethernet/realtek/8139cp.c |    1 +
Josh Boyer 0970aa
 1 files changed, 1 insertions(+), 0 deletions(-)
Josh Boyer 0970aa
Josh Boyer 0970aa
diff --git a/drivers/net/ethernet/realtek/8139cp.c b/drivers/net/ethernet/realtek/8139cp.c
Josh Boyer 0970aa
index 3de318d..6cb96b4 100644
Josh Boyer 0970aa
--- a/drivers/net/ethernet/realtek/8139cp.c
Josh Boyer 0970aa
+++ b/drivers/net/ethernet/realtek/8139cp.c
Josh Boyer 0970aa
@@ -1219,6 +1219,7 @@ static void cp_tx_timeout(struct net_device *dev)
Josh Boyer 0970aa
 	cp_clean_rings(cp);
Josh Boyer 0970aa
 	rc = cp_init_rings(cp);
Josh Boyer 0970aa
 	cp_start_hw(cp);
Josh Boyer 0970aa
+	cp_enable_irq(cp);
Josh Boyer 0970aa
 
Josh Boyer 0970aa
 	netif_wake_queue(dev);
Josh Boyer 0970aa
 
Josh Boyer 0970aa
-- 
Josh Boyer 0970aa
1.7.6.5
Josh Boyer 0970aa