2
0
mirror of https://github.com/xcat2/xNBA.git synced 2024-11-29 04:39:42 +00:00

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.
This commit is contained in:
Marty Connor 2007-12-13 11:20:45 -05:00
parent 1a867bfb39
commit bd2607305c

View File

@ -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 );