[PATCH 0/14] ACPI: make ACPI use driver model

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

 



The main purpose of this patch series is to make ACPI use driver model
And these are updated patches against 2.6.19.

Patrick has posted patches on rewriting ACPI driver model in November 2005. 
And recently Shaohua send me a prototype on making ACPI use driver model. 
This patch series bases on both Patrick and Shaohua's previous work. 

Two features are gonna be changed by applying this series of patches. 
1. ACPI driver model.  
ACPI driver are made to follow Linux driver model. 
The main work is to convert the registration interfaces,so that
ACPI devices are registered with the global device tree. 
        Note the new .uevent method mark ACPI drivers by PNPID  
instead of by name. Udev script needs to look for "HWID = " 
or "COMPTID = " to load the right ACPI driver. 
2.      ACPI sysfs interface.  
As a result of using driver model, ACPI devices is added in the
/sys/device tree. So _EJ0 is added as a property of ACPI device
in device tree. ACPI namespace nodes that used to  be shown 
under /sys/firm/acpi is deleted. 
The corresponding userspace script needs to be changed for
hot removal.

Note that this is only the first step of ACPI sysfs conversion work 
The next step is to duplicate ACPI procfs functions in sysfs. 
-
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux