summaryrefslogtreecommitdiffstats
path: root/src/drivers/net
diff options
context:
space:
mode:
authorMichael Brown2011-01-25 15:19:54 +0100
committerMichael Brown2011-01-25 15:24:53 +0100
commit3a9f0e0f84d91b8b788d98a041d0da96c63b568f (patch)
tree7733ebc36592c561ccd54bfc2ff7f01721a2ee12 /src/drivers/net
parent[pxe] Report SUPPORTED_IRQ only if device supports interrupts (diff)
downloadipxe-3a9f0e0f84d91b8b788d98a041d0da96c63b568f.tar.gz
ipxe-3a9f0e0f84d91b8b788d98a041d0da96c63b568f.tar.xz
ipxe-3a9f0e0f84d91b8b788d98a041d0da96c63b568f.zip
[infiniband] Indicate that device does not support interrupts
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers/net')
-rw-r--r--src/drivers/net/ipoib.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/drivers/net/ipoib.c b/src/drivers/net/ipoib.c
index 09c89bdc3..4917b58e8 100644
--- a/src/drivers/net/ipoib.c
+++ b/src/drivers/net/ipoib.c
@@ -538,17 +538,6 @@ static void ipoib_poll ( struct net_device *netdev ) {
}
/**
- * Enable/disable interrupts on IPoIB network device
- *
- * @v netdev Network device
- * @v enable Interrupts should be enabled
- */
-static void ipoib_irq ( struct net_device *netdev __unused,
- int enable __unused ) {
- /* No implementation */
-}
-
-/**
* Handle IPv4 broadcast multicast group join completion
*
* @v ibdev Infiniband device
@@ -730,7 +719,6 @@ static struct net_device_operations ipoib_operations = {
.close = ipoib_close,
.transmit = ipoib_transmit,
.poll = ipoib_poll,
- .irq = ipoib_irq,
};
/**