Re: [Lhns-devel] Re: [PATCH 6/6]ACPI based Physical CPU hotplug

Keiichiro Tokunaga
2004-09-13T01:18:34Z

On Wed, 08 Sep 2004 18:41:52 -0700 Keshavamurthy Anil S wrote:
> ---
> Name:container_drv.patch
> Status: Tested on 2.6.9-rc1-mm2
> Signed-off-by: Anil S Keshavamurthy <anil.s.keshavamurthy-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org>
> Depends:
> Version: applies on 2.6.9-rc1-mm2
> Description:
> This is the very early version on the Container driver which supports
> hotplug notifications on ACPI004, PNP0A05 and PNP0A06 devices.

Here is a typo fix. The HID 'ACPI004' should be 'ACPI0004':)

Thanks,
Keiichiro Tokunaga

Signed-off-by: Keiichiro Tokunaga <tokunaga.keiich-+CUm20s59erQFUHtdCDX3A@public.gmane.org>

---

linux-2.6.9-rc1-mm3-kei/drivers/acpi/container.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)

diff -puN drivers/acpi/container.c~fix-acpi0004 drivers/acpi/container.c
--- linux-2.6.9-rc1-mm3/drivers/acpi/container.c~fix-acpi0004 2004-09-13 10:04:42.183606664 +0900
+++ linux-2.6.9-rc1-mm3-kei/drivers/acpi/container.c 2004-09-13 10:05:02.951325835 +0900
@@ -58,7 +58,7 @@ static int acpi_container_remove(struct
static struct acpi_driver acpi_container_driver = {
.name = ACPI_CONTAINER_DRIVER_NAME,
.class = ACPI_CONTAINER_CLASS,
- .ids = "ACPI004,PNP0A05,PNP0A06",
+ .ids = "ACPI0004,PNP0A05,PNP0A06",
.ops = {
.add = acpi_container_add,
.remove = acpi_container_remove,
@@ -270,7 +270,7 @@ container_walk_namespace_cb(acpi_handle
goto end;
}

- if (strcmp(hid, "ACPI004") && strcmp(hid, "PNP0A05") &&
+ if (strcmp(hid, "ACPI0004") && strcmp(hid, "PNP0A05") &&
strcmp(hid, "PNP0A06")) {
goto end;
}

_

-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php