[PATCH] fix e1000 after irq craziness

Dave Hansen (haveblue@us.ibm.com)
Mon, 29 Jul 2002 11:49:47 -0700


This is a multi-part message in MIME format.
--------------020009010406050401060500
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

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

Compiles for me.

-- 
Dave Hansen
haveblue@us.ibm.com

--------------020009010406050401060500 Content-Type: text/plain; name="e1000-irqfix-2.5.29-0.patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="e1000-irqfix-2.5.29-0.patch"

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); } /**

--------------020009010406050401060500--

- 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/