linux/drivers/acpi
Yasunori Goto 1f425994f9 [PATCH] Catch notification of memory add event of ACPI via container driver. (register start func for memory device)
This is a patch to call add_memroy() when notify reaches for new node's add
event.

When new node is added, notify of ACPI reaches container device which means
the node.

Container device driver calls acpi_bus_scan() to find and add belonging
devices (which means cpu, memory and so on).  Its function calls add and
start function of belonging devices's driver.

Howevever, current memory hotplug driver just register add function to
create sysfs file for its memory.  But, acpi_memory_enable_device() is not
called because it is considered just the case that notify reaches memory
device directly.  So, if notify reaches container device nothing can call
add_memory().

This is a patch to create start function which calls add_memory().
add_memory() can be called by this when notify reaches container device.

[akpm@osdl.org: coding cleanups]
Signed-off-by: Yasunori Goto <y-goto@jp.fujitsu.com>
Cc: "Brown, Len" <len.brown@intel.com>
Cc: Dave Hansen <haveblue@us.ibm.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2006-06-27 17:32:35 -07:00
..
dispatcher ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
events ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
executer ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
hardware ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
namespace ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
parser ACPI: ACPICA 20060526 2006-06-14 02:44:35 -04:00
resources ACPI: ACPICA 20060526 2006-06-14 02:44:35 -04:00
sleep Pull button into release branch 2006-06-15 23:17:14 -04:00
tables ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
utilities ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
Kconfig Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-06-23 07:52:36 -07:00
Makefile [ACPI] IA64 build: blacklist.c is used only on X86 2005-11-30 21:59:35 -05:00
ac.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
acpi_memhotplug.c [PATCH] Catch notification of memory add event of ACPI via container driver. (register start func for memory device) 2006-06-27 17:32:35 -07:00
asus_acpi.c Pull trivial2 into release branch 2006-06-15 21:31:17 -04:00
battery.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
blacklist.c [PATCH] x86_64: Clean up and tweak ACPI blacklist year code 2006-03-25 09:10:54 -08:00
bus.c Pull bugzilla-5000 into release branch 2006-06-15 21:36:11 -04:00
button.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
container.c [PATCH] driver core: replace "hotplug" by "uevent" 2006-01-04 16:18:08 -08:00
debug.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
ec.c Pull bugzilla-5764 into release branch 2006-06-15 21:34:21 -04:00
event.c [PATCH] Fix /proc/acpi/events around suspend 2005-10-17 17:03:57 -07:00
fan.c ACPI: create acpi_fan_suspend()/acpi_fan_resume() 2006-05-15 03:16:45 -04:00
glue.c [ACPI] ACPICA 20050930 2005-12-10 00:20:25 -05:00
hotkey.c [ACPI] drivers/acpi/hotkey.c: check kmalloc return value 2006-03-31 01:02:39 -05:00
ibm_acpi.c ACPI: Allow a WAN module enable/disable on a Thinkpad X60. 2006-06-01 20:42:32 -04:00
motherboard.c ACPI: Display "ACPI" to motherboard resources in /proc/io{mem,port} 2006-04-01 21:33:00 -05:00
numa.c [PATCH] Unify pxm_to_node() and node_to_pxm() 2006-06-23 07:42:48 -07:00
osl.c ACPI: ACPICA 20060608 2006-06-14 02:45:47 -04:00
pci_bind.c [ACPI] add static to function definitions 2005-09-03 00:20:13 -04:00
pci_irq.c [ACPI] merge 3549 4320 4485 4588 4980 5483 5651 acpica asus fops pnpacpi branches into release 2006-01-24 17:52:48 -05:00
pci_link.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-06-23 07:52:36 -07:00
pci_root.c [ACPI] ACPICA 20050930 2005-12-10 00:20:25 -05:00
power.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
processor_core.c Merge branch 'release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-acpi-2.6 2006-06-23 07:52:36 -07:00
processor_idle.c Merge branch 'x86-64' 2006-06-26 10:51:09 -07:00
processor_perflib.c ACPI: resolve merge conflict between sem2mutex and processor_perflib.c 2006-06-15 22:19:31 -04:00
processor_thermal.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
processor_throttling.c [ACPI] make two processor functions static 2006-01-08 03:05:59 -05:00
scan.c Pull bugzilla-5000 into release branch 2006-06-15 21:36:11 -04:00
system.c ACPI: ACPICA 20060421 2006-06-14 02:30:55 -04:00
tables.c ACPI: ACPICA 20060331 2006-06-14 02:04:16 -04:00
thermal.c Pull bugzilla-5000 into release branch 2006-06-15 21:36:11 -04:00
toshiba_acpi.c [ACPI] Lindent all ACPI files 2005-08-05 00:45:14 -04:00
utils.c ACPI: fix potential memory leak in acpi_evaluate_integer() error path 2006-05-13 23:38:24 -04:00
video.c [PATCH] fix typo in acpi video brightness changes. 2006-06-23 21:37:34 -07:00