RE: [ACPI] [PATCH/RFC 0/4]Bind physical devices with ACPI devices
From: Yu, Luming
Date: Mon Nov 08 2004 - 11:00:05 EST
>All we need is an acpi_get_gendev_handle that takes a struct device and
>returns the acpi_handle for it. Now, maybe that'd be best
>done by placing
>a pointer in the struct device, but I bet it'd be just as good to walk
>the namespace looking for the corresponding device.
It will fail if you just simply walk namespace to find out
the corresponding acpi object, because there are NO
hardware id or compatible id can be passed in.
Please check function acpi_bus_match.
The fundamental problem here is how to use device's geographical
address( or other information ) to locate the corresponding
acpi object in namespace.
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/