Alexey Starikovskiy wrote: > Zhang Rui wrote: > >> On Thu, 2007-08-16 at 18:03 +0400, Alexey Starikovskiy wrote: >> >>> From: Alexey Starikovskiy <astarikovskiy@xxxxxxx> >>> >>> acpi_bus_generate_event() takes two strings out of passed device object. >>> SBS needs to supply these strings directly. >>> >>> >> This doesn't make sense. >> How much sense in sending different bus_id from the same device? >> acpi_dev->dev.bus_id is the name we are using for ACPI device in sysfs. >> That's why acpi_dev->dev.bus_id is exported via netlink message rather >> than the acpi_dev.pnp.bus_id. >> BTW: what's wrong with the old acpi_sbs_generate_event thing? >> > There are up to 5 devices in SBS which could send a message. > From ACPI point of view this is one device. > Copying strings before and after sending event seems to be mess to me. Regards, Alex. - To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html