RHEL 8.5: Load multiple ko with parameters
by zvivered from LinuxQuestions.org on (#6J3Y4)
Hello,
I have a PCIe card that contains 8 channels.
Unfortunatelly, the card supports only onelegacy interrupt which is common to all 8 channels.
Upon interrupt, I have to read interrupt status in order to decide which channels caused the interrupt.
I think the right way is:
1. develop card.ko
2. develop channel.ko
channel.ko should be launched automaticallyupon boot 8 times. each with another parameter: 0..7
Can you please explain how can I do it in /etc/modules-load.d ?
Thank you,
Zvika
I have a PCIe card that contains 8 channels.
Unfortunatelly, the card supports only onelegacy interrupt which is common to all 8 channels.
Upon interrupt, I have to read interrupt status in order to decide which channels caused the interrupt.
I think the right way is:
1. develop card.ko
2. develop channel.ko
channel.ko should be launched automaticallyupon boot 8 times. each with another parameter: 0..7
Can you please explain how can I do it in /etc/modules-load.d ?
Thank you,
Zvika