Re: [PATCH] irqdev: search_intr with interrupt line

2020-08-04 Thread Samuel Thibault
Junling Ma, le mar. 04 août 2020 15:16:39 -0700, a ecrit: > In the read/write irq scheme, a program may open multiple irq devices. When > wrting (acking), we > need to find the user_intr_t that both points to the device port and has the > correct interrupt. > Thus the search_intr function need to

[PATCH] irqdev: search_intr with interrupt line

2020-08-04 Thread Junling Ma
In the read/write irq scheme, a program may open multiple irq devices. When wrting (acking), we need to find the user_intr_t that both points to the device port and has the correct interrupt. Thus the search_intr function need to match the interrupt id. For the device_intr_ack method, the id p