Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F109416619
D33892.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
499 B
Referenced Files
None
Subscribers
None
D33892.diff
View Options
diff --git a/sys/x86/isa/atrtc.c b/sys/x86/isa/atrtc.c
--- a/sys/x86/isa/atrtc.c
+++ b/sys/x86/isa/atrtc.c
@@ -371,7 +371,10 @@
if (acpi_disabled("atrtc"))
return (ENXIO);
- sc->acpi_handle = acpi_get_handle(dev);
+ if (ACPI_FAILURE(AcpiGetHandle(ACPI_ROOT_OBJECT, "\\_SB_", &sc->acpi_handle))) {
+ return (ENXIO);
+ }
+
if (sc->acpi_handle == NULL ||
ACPI_FAILURE(AcpiInstallAddressSpaceHandler(sc->acpi_handle,
ACPI_ADR_SPACE_CMOS, atrtc_acpi_cmos_handler, NULL, dev))) {
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Wed, Feb 5, 7:12 PM (21 h, 19 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
16479270
Default Alt Text
D33892.diff (499 B)
Attached To
Mode
D33892: atrtc: Install address space handler for \_SB and its descendant.
Attached
Detach File
Event Timeline
Log In to Comment