Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133562418
D47251.id145365.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
674 B
Referenced Files
None
Subscribers
None
D47251.id145365.diff
View Options
diff --git a/sys/dev/gpio/acpi_gpiobus.c b/sys/dev/gpio/acpi_gpiobus.c
--- a/sys/dev/gpio/acpi_gpiobus.c
+++ b/sys/dev/gpio/acpi_gpiobus.c
@@ -52,8 +52,6 @@
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 @@
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;
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 27, 4:37 PM (15 h, 30 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24255778
Default Alt Text
D47251.id145365.diff (674 B)
Attached To
Mode
D47251: acpi_gpiobus: Narrow scope of NOT_YET
Attached
Detach File
Event Timeline
Log In to Comment