Re: [PATCH 06/12] ACPI: Add acpi_bus_generate_event4() function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.
> 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

[Index of Archives]     [Linux IBM ACPI]     [Linux Power Management]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Share Photos]     [Security]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]     [Linux Resources]

  Powered by Linux