Pārlūkot izejas kodu

[hermon] Indicate that device does not support interrupts

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 14 gadus atpakaļ
vecāks
revīzija
785335996f
1 mainītis faili ar 0 papildinājumiem un 12 dzēšanām
  1. 0
    12
      src/drivers/infiniband/hermon.c

+ 0
- 12
src/drivers/infiniband/hermon.c Parādīt failu

@@ -2319,17 +2319,6 @@ static void hermon_eth_poll ( struct net_device *netdev ) {
2319 2319
 	ib_poll_eq ( ibdev );
2320 2320
 }
2321 2321
 
2322
-/**
2323
- * Enable/disable interrupts on Hermon Ethernet device
2324
- *
2325
- * @v netdev		Network device
2326
- * @v enable		Interrupts should be enabled
2327
- */
2328
-static void hermon_eth_irq ( struct net_device *netdev __unused,
2329
-			     int enable __unused ) {
2330
-	/* No implementation */
2331
-}
2332
-
2333 2322
 /**
2334 2323
  * Open Hermon Ethernet device
2335 2324
  *
@@ -2469,7 +2458,6 @@ static struct net_device_operations hermon_eth_operations = {
2469 2458
 	.close		= hermon_eth_close,
2470 2459
 	.transmit	= hermon_eth_transmit,
2471 2460
 	.poll		= hermon_eth_poll,
2472
-	.irq		= hermon_eth_irq,
2473 2461
 };
2474 2462
 
2475 2463
 /**

Notiek ielāde…
Atcelt
Saglabāt