[prev in list] [next in list] [prev in thread] [next in thread]
List: freebsd-arch
Subject: Re: INTR_POLARITY_BOTH_EDGES?
From: John Baldwin <jhb () FreeBSD ! org>
Date: 2020-07-01 20:48:03
Message-ID: 7c16a5a7-ab5a-6aa7-df15-171ea5308d2d () FreeBSD ! org
[Download RAW message or body]
On 6/30/20 1:22 AM, Andriy Gapon wrote:
>
> What do you think about adding this to intr_polarity ?
> I think that it's useful for two reasons:
> - support for GPIO interrupts of that kind (GPIO_INTR_EDGE_BOTH)
> - symmetry with ACPI's ACPI_ACTIVE_BOTH (which probably exists for GPIO as well)
> This new polarity is to be valid only with INTR_TRIGGER_EDGE as the name (and
> sanity) implies.
>
> By the way, the name is a open for bikeshedding.
Sounds ok to me.
--
John Baldwin
_______________________________________________
freebsd-arch@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic