Messages in this thread | | | From | "Grover, Andrew" <> | Subject | RE: swsusp: don't eat ide disks | Date | Thu, 7 Nov 2002 10:26:59 -0800 |
| |
> From: David Woodhouse [mailto:dwmw2@infradead.org] > Why /proc/acpi/sleep ? > > Other PM implementations gave us /proc/sys/pm/suspend -- why > doesn't ACPI > use that? > > The stuff in /proc/acpi should be ACPI-specific. Anything > _generic_ like > battery info, sleep states, etc. should have a generic > interface which can > be used by any implementation.
Yes, ACPI can and should use standard kernel interfaces when they are available. The interfaces you're talking about don't exist yet, but could be added.
An example of this is cpufreq. ACPI exposed its own proc interface before cpufreq was integrated, but now it recently started working through cpufreq. It should be relatively easy to establish generic interfaces for other areas and hook ACPI into them.
Regards -- Andy - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
| |