Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Jan 2006 14:42:46 -0800
From:      Nate Lawson <nate@root.org>
To:        JoaoBR <joao@matik.com.br>
Cc:        freebsd-acpi@freebsd.org, Bruno Ducrot <ducrot@poupinou.org>, freebsd-stable@freebsd.org
Subject:   Re: need help for DSDT for an Epox Amd64 MB
Message-ID:  <43D55BE6.3000407@root.org>
In-Reply-To: <200601232038.44907.joao@matik.com.br>
References:  <200601201851.26858.joao@matik.com.br> <200601231909.02998.joao@matik.com.br> <43D54F28.8080205@root.org> <200601232038.44907.joao@matik.com.br>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?43D55BE6.3000407>