Re: [Lhms-devel] [RFC] Patch [1/2] for acpi_memhotplug.c

KAMEZAWA Hiroyuki
2006-06-22T06:11:56Z

On Thu, 22 Jun 2006 14:20:38 +0900
KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com> wrote:
> - acpi_memory_device_init() -> acpi_memory_register_notify_handler()
> installs notify handler for memory hotplug against device handle of memory
> This doesn't check _CID.
>
> - acpi_bus_add() attachs motherboard driver because of CID.
> Above _CID is 32bit compressed EISA-type ID (HID is string but..),
> it is PNP0C01...motherboad driver is called before PNP0C80 driver.
> (to covert 32bit ID to string, see acpi_ex_eisa_id_to_string(),
> I attached program.)
>
> Then what we should do here is...call HID:PNP0C80 driver instead if CID:PNP0C01 driver.
> Because it has driver for HID, calling driver for CID looks not good.
> (But we have to ask acpi people about this..)
>
Ah... BTW, why PNP0C80(memory) and PNP0C01(motherboard) are described as
"compatible device" ? Are they compatible ?

-Kame