From: Patrick Mochel Date: Thu, 7 Dec 2006 12:56:38 +0000 (+0800) Subject: ACPI: convert to sysfs framework X-Git-Tag: v2.6.21-rc1~92^2~32^2^2~7^2~12 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f883d9db008deb20d4969c26475100cec2b7f6f8;p=pandora-kernel.git ACPI: convert to sysfs framework Setup new sysfs framework 1. Remove /sys/firmware/acpi 2. Add ACPI device in device tree. File "eject" for every device that has _EJ0 method is moved from /sys/firmware to /sys/devices. Operation on this file is exactly the same as before. i.e. echo 1 to "eject" will cause hot removal of this device. Corresponding changes should be made in userspace for hot removal. Signed-off-by: Li Shaohua Signed-off-by: Zhang Rui Signed-off-by: Len Brown --- Reading git-diff-tree failed