Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jun 2020 11:22:42 +0300
From:      Andriy Gapon <avg@FreeBSD.org>
To:        arch@FreeBSD.org
Subject:   INTR_POLARITY_BOTH_EDGES?
Message-ID:  <aee40a9e-729a-6e87-4f7c-f96533681c51@FreeBSD.org>

next in thread | raw e-mail | index | archive | help

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.
-- 
Andriy Gapon



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?aee40a9e-729a-6e87-4f7c-f96533681c51>