From bd2607305ca381abbe92431ff7410cbb040714be Mon Sep 17 00:00:00 2001 From: Marty Connor Date: Thu, 13 Dec 2007 11:20:45 -0500 Subject: [PATCH] Correct e1000 interrupt routine to enable on 1 disable on 0. duh. The e1000_irq() routine should (per mcb30) do enable on non-zero, disable on zero. This is not consistent in all drivers, so I'll wait to update it when doing a global sweep. --- src/drivers/net/e1000/e1000.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/drivers/net/e1000/e1000.c b/src/drivers/net/e1000/e1000.c index a0bfc97f..44054a46 100644 --- a/src/drivers/net/e1000/e1000.c +++ b/src/drivers/net/e1000/e1000.c @@ -728,10 +728,10 @@ e1000_irq ( struct net_device *netdev, int enable ) switch ( enable ) { case 0 : - e1000_irq_enable ( adapter ); + e1000_irq_disable ( adapter ); break; case 1 : - e1000_irq_disable ( adapter ); + e1000_irq_enable ( adapter ); break; case 2 : e1000_irq_force ( adapter ); -- 2.11.4.GIT