INTR_POLARITY_BOTH_EDGES?

John Baldwin jhb at FreeBSD.org
Wed Jul 1 20:48:05 UTC 2020


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


More information about the freebsd-arch mailing list