Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F177460027
D60797.1794465124.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Authored By
Unknown
Size
605 B
Referenced Files
None
Subscribers
None
D60797.1794465124.diff
View Options
diff --git a/sys/dev/acpica/acpi.c b/sys/dev/acpica/acpi.c
--- a/sys/dev/acpica/acpi.c
+++ b/sys/dev/acpica/acpi.c
@@ -740,9 +740,6 @@
"acpi");
sc->acpi_dev_t->si_drv1 = sc;
- if ((error = acpi_machdep_init(dev)))
- goto out;
-
/*
* Setup our sysctl tree.
*
@@ -811,6 +808,9 @@
"Force active-hi polarity for edge-triggered ISA IRQs");
#endif
+ if ((error = acpi_machdep_init(dev)))
+ goto out;
+
/* Register ACPI again to pass the correct argument of pm_func. */
power_pm_register(POWER_PM_TYPE_ACPI, acpi_pm_func, sc,
sc->acpi_supported_stypes);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Thu, Nov 12, 6:32 AM (1 h, 52 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
40984384
Default Alt Text
D60797.1794465124.diff (605 B)
Attached To
Mode
D60797: acpi: set up the sysctl tree before acpi_machdep_init()
Attached
Detach File
Event Timeline