mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
acpi_gpiobus: Narrow scope of NOT_YET
GPIO interrupts work just fine and will be used shortly. We still
do not support GPIO_INTR_SHAREABLE however, so leave that within
the NOT_YET scope.
Reviwed by: andrew
Approved by: re (kib)
MFC after: 1 week
Sponsored by: Amazon
Differential Revision: https://reviews.freebsd.org/D47251
(cherry picked from commit 2d4219919a48aa6d67ae62e2b8859ffe3b035bd2)
(cherry picked from commit 1f69417607)
This commit is contained in:
parent
193a9943ba
commit
aeba4bd10f
1 changed files with 3 additions and 3 deletions
|
|
@ -52,8 +52,6 @@ acpi_gpiobus_convflags(ACPI_RESOURCE_GPIO *gpio_res)
|
|||
uint32_t flags = 0;
|
||||
|
||||
/* Figure out pin flags */
|
||||
#ifdef NOT_YET
|
||||
/* These are currently unused. */
|
||||
if (gpio_res->ConnectionType == ACPI_RESOURCE_GPIO_TYPE_INT) {
|
||||
switch (gpio_res->Polarity) {
|
||||
case ACPI_ACTIVE_HIGH:
|
||||
|
|
@ -69,10 +67,12 @@ acpi_gpiobus_convflags(ACPI_RESOURCE_GPIO *gpio_res)
|
|||
break;
|
||||
}
|
||||
|
||||
#ifdef NOT_YET
|
||||
/* This is not currently implemented. */
|
||||
if (gpio_res->Shareable == ACPI_SHARED)
|
||||
flags |= GPIO_INTR_SHAREABLE;
|
||||
}
|
||||
#endif
|
||||
}
|
||||
switch (gpio_res->IoRestriction) {
|
||||
case ACPI_IO_RESTRICT_INPUT:
|
||||
flags |= GPIO_PIN_INPUT;
|
||||
|
|
|
|||
Loading…
Reference in a new issue