[PATCH] fix e1000 after irq craziness

From: Dave Hansen (haveblue@us.ibm.com)
Date: Mon Jul 29 2002 - 13:49:47 EST


I just duplicated the method used in:
drivers/net/tulip/de2104x.c

Compiles for me.

-- 
Dave Hansen
haveblue@us.ibm.com

diff -ur linux-2.5.29-clean/drivers/net/e1000/e1000_main.c linux-2.5.29/drivers/net/e1000/e1000_main.c --- linux-2.5.29-clean/drivers/net/e1000/e1000_main.c Fri Jul 26 19:58:36 2002 +++ linux-2.5.29/drivers/net/e1000/e1000_main.c Mon Jul 29 11:43:18 2002 @@ -1699,7 +1699,7 @@ { atomic_inc(&adapter->irq_sem); E1000_WRITE_REG(&adapter->hw, IMC, ~0); - synchronize_irq(); + synchronize_irq(adapter->netdev->irq); } /**

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Tue Jul 30 2002 - 14:00:33 EST