tech-kern archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: new acpi utility functions



Jukka Ruohonen wrote:
> On Sat, Nov 28, 2009 at 09:25:46PM +0100, Christoph Egger wrote:
>> I developped a separate patch which does proper ACPI PCI enumeration.
> 
> I asked the purpose of these functions because the code opens also some
> opportunities for power management. Not much more is needed to link the
> "native" PCI power management code to the ACPI equivalent. The idea, as done
> in FreeBSD (cf. also [1]), would be to turn on/off possible additional ACPI
> power resources when powering up/down the device via PCI.

The purpose is to link ACPI and PCI drivers together in a general way
not just for power management.

The code in -current shows me this in dmesg:

acpi0: wakeup devices: MAC0 P2P0 KBC0 MSE0 XVR3


The code here
http://www.netbsd.org/~cegger/acpi_pci.diff

shows me this in the dmesg:

acpi0: pci devices: P2P0 XVR0 XVR1 XVR2 XVR3
acpi0: wakeup devices: MAC0 P2P0 KBC0 MSE0 XVR3

And I have another local patch on top of it that shows me this:

acpi0: pci devices: P2P0 XVR0 XVR1 XVR2 XVR3
P2P0 at acpi0 not configured
XVR0 at acpi0 not configured
XVR1 at acpi0 not configured
XVR2 at acpi0 not configured
XVR3 at acpi0 not configured
acpi0: wakeup devices: MAC0 P2P0 KBC0 MSE0 XVR3


> - Jukka.
> 
> [1] http://www.microsoft.com/whdc/archive/PCIpm.mspx



Home | Main Index | Thread Index | Old Index