public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/14] ACPI: make ACPI use driver model
@ 2006-12-07 12:56 Zhang Rui
  2006-12-07 16:28 ` Bjorn Helgaas
  2006-12-08 10:31 ` Len Brown
  0 siblings, 2 replies; 6+ messages in thread
From: Zhang Rui @ 2006-12-07 12:56 UTC (permalink / raw)
  To: lenb; +Cc: linux-acpi@vger

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. 

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2006-12-08 16:51 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-12-07 12:56 [PATCH 0/14] ACPI: make ACPI use driver model Zhang Rui
2006-12-07 16:28 ` Bjorn Helgaas
2006-12-08  1:34   ` Shaohua Li
2006-12-08 10:29   ` Len Brown
2006-12-08 16:50     ` Bjorn Helgaas
2006-12-08 10:31 ` Len Brown

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox