diff options
author | Michael Brown | 2007-07-03 16:37:56 +0200 |
---|---|---|
committer | Michael Brown | 2007-07-03 16:37:56 +0200 |
commit | ca4bd3e24e52192807dd538430809d0fbd79800d (patch) | |
tree | 34da19601fe94a0d8e0d3a2221c1743fda6b4f2b /src/drivers/net/pnic.c | |
parent | Kill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to (diff) | |
download | ipxe-ca4bd3e24e52192807dd538430809d0fbd79800d.tar.gz ipxe-ca4bd3e24e52192807dd538430809d0fbd79800d.tar.xz ipxe-ca4bd3e24e52192807dd538430809d0fbd79800d.zip |
Kill off now-redundant _irq() methods.
Diffstat (limited to 'src/drivers/net/pnic.c')
-rw-r--r-- | src/drivers/net/pnic.c | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/src/drivers/net/pnic.c b/src/drivers/net/pnic.c index 63b4195f..f614a073 100644 --- a/src/drivers/net/pnic.c +++ b/src/drivers/net/pnic.c @@ -161,29 +161,6 @@ static int pnic_transmit ( struct net_device *netdev, struct io_buffer *iobuf ) } /************************************************************************** -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 ***************************************************************************/ static int pnic_open ( struct net_device *netdev ) { |