david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

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
1 changed files with 2 additions and 2 deletions

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