Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 Jul 2020 13:48:03 -0700
From:      John Baldwin <jhb@FreeBSD.org>
To:        freebsd-arch@freebsd.org
Subject:   Re: INTR_POLARITY_BOTH_EDGES?
Message-ID:  <7c16a5a7-ab5a-6aa7-df15-171ea5308d2d@FreeBSD.org>
In-Reply-To: <aee40a9e-729a-6e87-4f7c-f96533681c51@FreeBSD.org>
References:  <aee40a9e-729a-6e87-4f7c-f96533681c51@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7c16a5a7-ab5a-6aa7-df15-171ea5308d2d>