acpi: Ignore _STA and never disable AT RTC devices
atrtc(4) should always install a SystemCMOS address space handler unless the RTC Not Present bit is not set in IAPC_BOOT_ARCH in the FADT. The atrtc(4) driver already checks this bit, but _STA can return not-present even when this bit is clear. Reviewed by : jhb Differential Revision: https://reviews.freebsd.org/D33891
This commit is contained in:
parent
9ce46cbc95
commit
5c69be7084
@ -2260,6 +2260,15 @@ acpi_probe_child(ACPI_HANDLE handle, UINT32 level, void *context, void **status)
|
||||
/* Never disable PCI link devices. */
|
||||
if (acpi_MatchHid(handle, "PNP0C0F"))
|
||||
break;
|
||||
|
||||
/*
|
||||
* RTC Device should be enabled for CMOS register space
|
||||
* unless FADT indicate it is not present.
|
||||
* (checked in RTC probe routine.)
|
||||
*/
|
||||
if (acpi_MatchHid(handle, "PNP0B00"))
|
||||
break;
|
||||
|
||||
/*
|
||||
* Docking stations should remain enabled since the system
|
||||
* may be undocked at boot.
|
||||
|
Loading…
x
Reference in New Issue
Block a user