diff options
author | David Brownell <david-b@pacbell.net> | 2008-02-22 21:54:24 -0800 |
---|---|---|
committer | Len Brown <len.brown@intel.com> | 2008-02-23 01:32:56 -0500 |
commit | 1071695f17daf050638e0bc550db647f8237c3bb (patch) | |
tree | 4770e712c2293d0156fbb53bebc6fa059a8a99eb /arch/um/drivers | |
parent | 39273b58a409cd6d65c9732bdca00bacd1626672 (diff) |
ACPI: crosslink ACPI and "real" device nodes
Add cross-links between ACPI device and "real" devices in sysfs,
exposing otherwise-hidden interrelationships between the various
device nodes for ACPI stuff. As a representative example, one
hardware device is exposed as two logical devices (PNP and ACPI):
.../pnp0/00:06/
.../LNXSYSTM:00/device:00/PNP0A03:00/device:15/PNP0B00:00/
The PNP device gets a "firmware_node" link pointing to the ACPI device,
and is what a Linux device driver binds to. The ACPI device has instead
a "physical_node" link pointing back to the PNP device. Other firmware
frameworks, like OpenFirmware, could do the same thing to couple their
firmware tables to the rest of the system.
(Based on a patch from Zhang Rui. This version is modified to not
depend on the patch makig ACPI initialize driver model wakeup flags.)
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Cc: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Len Brown <len.brown@intel.com>
Diffstat (limited to 'arch/um/drivers')
0 files changed, 0 insertions, 0 deletions