VLAN and 802.11 devices use a network device operations structure that wraps an underlying structure. For example, the vlan_operations structure wraps the network device operations structure of the underlying trunk device. This can cause false positives from the current implementation of netdev_irq_supported(), which will always report that VLAN devices support interrupts since it has no visibility into the support provided by the underlying trunk device. Fix by allowing network devices to explicitly flag that interrupts are not supported, despite the presence of an irq() method. Originally-fixed-by: Wissam Shoukair <wissams@mellanox.com> Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
|
||
430 |
|
430 |
|
431 |
|
431 |
|
432 |
|
432 |
|
|
433 |
|
|
|
434 |
|
|
|
435 |
|
|
|
436 |
|
|
|
437 |
|
|
|
438 |
|
|
|
439 |
|
|
|
440 |
|
|
433 |
|
441 |
|
434 |
|
442 |
|
435 |
|
443 |
|
|
|
||
646 |
|
654 |
|
647 |
|
655 |
|
648 |
|
656 |
|
649 |
|
|
|
|
657 |
|
|
|
658 |
|
|
650 |
|
659 |
|
651 |
|
660 |
|
652 |
|
661 |
|
|
|
||
805 |
|
805 |
|
806 |
|
806 |
|
807 |
|
807 |
|
|
808 |
|
|
|
809 |
|
|
|
810 |
|
|
|
811 |
|
|
808 |
|
812 |
|
809 |
|
813 |
|
810 |
|
814 |
|
|
|
||
389 |
|
389 |
|
390 |
|
390 |
|
391 |
|
391 |
|
|
392 |
|
|
|
393 |
|
|
|
394 |
|
|
|
395 |
|
|
392 |
|
396 |
|
393 |
|
397 |
|
394 |
|
398 |
|