bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] irqdev: search_intr with interrupt line


From: Samuel Thibault
Subject: Re: [PATCH] irqdev: search_intr with interrupt line
Date: Wed, 5 Aug 2020 00:27:15 +0200
User-agent: NeoMutt/20170609 (1.8.3)

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 match the interrupt id.

? AIUI you'd call device_open() for each irq line you want to monitor,
so you only need to match the corresponding port, and checking the line
id is then just redundant.

Samuel



reply via email to

[Prev in Thread] Current Thread [Next in Thread]