Changeset View
Changeset View
Standalone View
Standalone View
sys/dev/acpica/acpi.c
Show First 20 Lines • Show All 2,254 Lines • ▼ Show 20 Lines | break; | ||||
* XXX PCI link devices sometimes report "present" but not | * XXX PCI link devices sometimes report "present" but not | ||||
* "functional" (i.e. if disabled). Go ahead and probe them | * "functional" (i.e. if disabled). Go ahead and probe them | ||||
* anyway since we may enable them later. | * anyway since we may enable them later. | ||||
*/ | */ | ||||
if (type == ACPI_TYPE_DEVICE && !acpi_DeviceIsPresent(child)) { | if (type == ACPI_TYPE_DEVICE && !acpi_DeviceIsPresent(child)) { | ||||
/* Never disable PCI link devices. */ | /* Never disable PCI link devices. */ | ||||
if (acpi_MatchHid(handle, "PNP0C0F")) | if (acpi_MatchHid(handle, "PNP0C0F")) | ||||
break; | 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 | * Docking stations should remain enabled since the system | ||||
* may be undocked at boot. | * may be undocked at boot. | ||||
*/ | */ | ||||
if (ACPI_SUCCESS(AcpiGetHandle(handle, "_DCK", &h))) | if (ACPI_SUCCESS(AcpiGetHandle(handle, "_DCK", &h))) | ||||
break; | break; | ||||
device_disable(child); | device_disable(child); | ||||
▲ Show 20 Lines • Show All 2,235 Lines • Show Last 20 Lines |