summaryrefslogtreecommitdiffstats
path: root/src/drivers/net/pnic.c
diff options
context:
space:
mode:
authorMichael Brown2007-07-03 16:37:56 +0200
committerMichael Brown2007-07-03 16:37:56 +0200
commitca4bd3e24e52192807dd538430809d0fbd79800d (patch)
tree34da19601fe94a0d8e0d3a2221c1743fda6b4f2b /src/drivers/net/pnic.c
parentKill off PXENV_UNDI_FORCE_INTERRUPT support; we have no reason to (diff)
downloadipxe-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.c23
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 ) {