mirror of
https://github.com/xcat2/xNBA.git
synced 2024-11-26 11:19:17 +00:00
[e1000] Remove deprecated IRQ_FORCE action from e1000_irq()
The gPXE driver API does not have a "force interrupt" function. Remove legacy code. Signed-off-by: Marty Connor <mdc@etherboot.org>
This commit is contained in:
parent
9760005fe8
commit
cd04338f7c
@ -109,18 +109,6 @@ e1000_irq_disable ( struct e1000_adapter *adapter )
|
||||
E1000_WRITE_FLUSH ( &adapter->hw );
|
||||
}
|
||||
|
||||
/**
|
||||
* e1000_irq_force - trigger interrupt
|
||||
*
|
||||
* @v adapter e1000 private structure
|
||||
**/
|
||||
static void
|
||||
e1000_irq_force ( struct e1000_adapter *adapter )
|
||||
{
|
||||
E1000_WRITE_REG ( &adapter->hw, ICS, E1000_ICS_RXDMT0 );
|
||||
E1000_WRITE_FLUSH ( &adapter->hw );
|
||||
}
|
||||
|
||||
/**
|
||||
* e1000_sw_init - Initialize general software structures (struct e1000_adapter)
|
||||
*
|
||||
@ -813,18 +801,11 @@ e1000_irq ( struct net_device *netdev, int enable )
|
||||
struct e1000_adapter *adapter = netdev_priv(netdev);
|
||||
|
||||
DBG ( "e1000_irq\n" );
|
||||
|
||||
switch ( enable ) {
|
||||
case 0 :
|
||||
e1000_irq_disable ( adapter );
|
||||
break;
|
||||
case 1 :
|
||||
|
||||
if ( enable )
|
||||
e1000_irq_enable ( adapter );
|
||||
break;
|
||||
case 2 :
|
||||
e1000_irq_force ( adapter );
|
||||
break;
|
||||
}
|
||||
else
|
||||
e1000_irq_disable ( adapter );
|
||||
}
|
||||
|
||||
static struct net_device_operations e1000_operations;
|
||||
|
Loading…
Reference in New Issue
Block a user