Skip to content

Commit

Permalink
Correct e1000 interrupt routine to enable on 1 disable on 0. duh.
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Marty Connor committed Dec 13, 2007
1 parent 1a867bf commit bd26073
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/drivers/net/e1000/e1000.c
Expand Up @@ -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 );
Expand Down

0 comments on commit bd26073

Please sign in to comment.