mirror of
https://github.com/ipxe/ipxe
synced 2025-12-22 04:50:25 +03:00
Kill off now-redundant _irq() methods.
This commit is contained in:
@@ -160,29 +160,6 @@ static int pnic_transmit ( struct net_device *netdev, struct io_buffer *iobuf )
|
||||
return 0;
|
||||
}
|
||||
|
||||
/**************************************************************************
|
||||
IRQ - Handle card interrupt status
|
||||
***************************************************************************/
|
||||
#if 0
|
||||
static void pnic_irq ( struct net_device *netdev, irq_action_t action ) {
|
||||
struct pnic *pnic = netdev->priv;
|
||||
uint8_t enabled;
|
||||
|
||||
switch ( action ) {
|
||||
case DISABLE :
|
||||
case ENABLE :
|
||||
enabled = ( action == ENABLE ? 1 : 0 );
|
||||
pnic_command ( pnic, PNIC_CMD_MASK_IRQ,
|
||||
&enabled, sizeof ( enabled ), NULL, 0, NULL );
|
||||
break;
|
||||
case FORCE :
|
||||
pnic_command ( pnic, PNIC_CMD_FORCE_IRQ,
|
||||
NULL, 0, NULL, 0, NULL );
|
||||
break;
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
||||
/**************************************************************************
|
||||
OPEN - Open network device
|
||||
***************************************************************************/
|
||||
|
||||
Reference in New Issue
Block a user