public inbox for linux-acpi@vger.kernel.org
 help / color / mirror / Atom feed
* [0/12] acpi: make ACPI use driver model
@ 2006-09-22  9:14 Zhang Rui
  2006-10-25 20:40 ` Bjorn Helgaas
  2006-11-23  4:07 ` Len Brown
  0 siblings, 2 replies; 11+ messages in thread
From: Zhang Rui @ 2006-09-22  9:14 UTC (permalink / raw)
  To: linux-acpi; +Cc: len.brown

Make ACPI use driver model.

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 to be changed by applying this series of patches.
1.	ACPI driver model. 
	ACPI driver are made to follow Linux driver model.
	The mainly work is to convert the registeration 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 after _EJ0 is added as a property of 
	ACPI device in device tree, /sys/firm/acpi is deleted.
	Note that the corresponding userspace script needs to be changed 
	for hot removal.

Note that this is only the first step of ACPI sysfs convert project.
The next step is to duplicate /proc/acpi functions in /sys/device tree.

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

end of thread, other threads:[~2006-11-24 14:37 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-22  9:14 [0/12] acpi: make ACPI use driver model Zhang Rui
2006-10-25 20:40 ` Bjorn Helgaas
2006-10-26  6:12   ` Zhang Rui
2006-10-26  8:15     ` Alexey Starikovskiy
2006-11-23  4:07 ` Len Brown
2006-11-23  4:54   ` Zhang Rui
2006-11-24  4:38     ` Len Brown
2006-11-24  6:01       ` Zhang Rui
2006-11-24 11:07         ` Henrique de Moraes Holschuh
2006-11-24 14:33           ` Henrique de Moraes Holschuh
     [not found]             ` <20061124143349.GC2287-ZGHd14iZgfaRjzvQDGKj+xxZW9W5cXbT@public.gmane.org>
2006-11-24 14:37               ` [PATCH] ACPI: ibm-acpi: do not use / in driver names Henrique de Moraes Holschuh

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