mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-29 12:49:49 +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:
parent
1a867bfb39
commit
bd2607305c
@ -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 );
|
||||
|
Loading…
Reference in New Issue
Block a user