need help for DSDT for an Epox Amd64 MB

Nate Lawson nate at root.org
Mon Jan 23 14:42:29 PST 2006


JoaoBR wrote:
> On Monday 23 January 2006 19:48, Nate Lawson wrote:
> 
>>>well, would you mind saying which one exactly you think of for removing?
>>
>>Thinking of removing debug.acpi.disabled since it is mostly redundant
>>with the hint approach.  But more investigation should be done before
>>claiming that.
> 
> 
> ok, means that all acpi subdrivers can not be disabled any more in boot.loader 
> and would be switched as hints on or off, right
> 
> is this already possible, I mean disabling the acpi subsets as hints?
> 
> let me ask what would be the advantage of using hints instead? Any timeline 
> for this or just a thought at this time?

 > grep resource_disabled /sys/dev/acpica/*.c
/sys/dev/acpica/acpi.c:    if (resource_disabled("acpi", 0))
/sys/dev/acpica/acpi_perf.c:    if (resource_disabled("acpi_perf", 0))
/sys/dev/acpica/acpi_throttle.c:        if 
(resource_disabled("acpi_throttle", 0))

 > grep acpi_disabled /sys/dev/acpica/*.c
/sys/dev/acpica/acpi.c:    if (!acpi_disabled("bus"))
/sys/dev/acpica/acpi.c:    if (acpi_disabled("children"))
/sys/dev/acpica/acpi.c:     if (acpi_disabled("children"))
/sys/dev/acpica/acpi.c:acpi_disabled(char *subsys)
/sys/dev/acpica/acpi_acad.c:    if (acpi_disabled("acad") ||
/sys/dev/acpica/acpi_button.c:    if (acpi_disabled("button") ||
/sys/dev/acpica/acpi_cmbat.c:    if (acpi_disabled("cmbat") ||
/sys/dev/acpica/acpi_cpu.c:    if (acpi_disabled("cpu") || 
acpi_get_type(dev) != ACPI_TYPE_PROCESSOR)
/sys/dev/acpica/acpi_ec.c:    if (acpi_get_type(dev) != ACPI_TYPE_DEVICE 
|| acpi_disabled("ec"))
/sys/dev/acpica/acpi_hpet.c:    if (acpi_disabled("hpet") ||
/sys/dev/acpica/acpi_isab.c:    if (acpi_disabled("isab") ||
/sys/dev/acpica/acpi_lid.c:    if (acpi_disabled("lid") ||
/sys/dev/acpica/acpi_pci_link.c:        if (acpi_disabled("pci_link") ||
/sys/dev/acpica/acpi_pcib_acpi.c:    if (acpi_disabled("pcib") ||
/sys/dev/acpica/acpi_pcib_pci.c:        acpi_disabled("pci"))
/sys/dev/acpica/acpi_resource.c:    if (acpi_disabled("sysresource") ||
/sys/dev/acpica/acpi_smbat.c:   if (acpi_disabled("smbat") ||
/sys/dev/acpica/acpi_thermal.c:    if (acpi_get_type(dev) == 
ACPI_TYPE_THERMAL && !acpi_disabled("thermal")) {
/sys/dev/acpica/acpi_timer.c:    if (acpi_disabled("timer") || 
(acpi_quirks & ACPI_Q_TIMER) ||
/sys/dev/acpica/acpi_video.c:   if (acpi_disabled("video") ||

So it looks like debug.acpi.disabled=thermal is the only way to do it 
for now.  We may want to move to resource_disabled later, but that's for 
future discusion.

-- 
Nate


More information about the freebsd-stable mailing list