Closed Deniz-Eren closed 8 months ago
Muliple IRQ support is now required as a result of MSI and MSI-X supported devices, see https://github.com/Deniz-Eren/dev-can-linux/issues/7 and https://github.com/Deniz-Eren/dev-can-linux/issues/19
Multiple IRQ support has been implemented and rebased to pull request https://github.com/Deniz-Eren/dev-can-linux/pull/8.
Merging to main will be tracked in https://github.com/Deniz-Eren/dev-can-linux/issues/7
Currently the implementation in src/include/interrupt.h and src/interrupt.c only supports a single IRQ being allocated to the devices. If multiple IRQs are indicated by the OS the driver will exit with an error. In practice this scenario has not occured in emulation or during real hardware testing, however this needs to be made more general.
Error handler in src/pci.c must be removed when implementation made: