All of lore.kernel.org
 help / color / mirror / Atom feed
* Bug 11884 - _REG and _INI
@ 2008-12-15  3:51 Lin Ming
  2008-12-15  7:27 ` Zhao Yakui
  0 siblings, 1 reply; 6+ messages in thread
From: Lin Ming @ 2008-12-15  3:51 UTC (permalink / raw)
  To: Alexey Starikovskiy; +Cc: linux-acpi

http://bugzilla.kernel.org/show_bug.cgi?id=11884 

Method(\_SB._INI)
{
	//initialize package CUZO
}

Method(\_SB_.PCI0.LPCB.EC0_._REG)
{
	//access package CUZO
}

For this machine, \_SB._INI must be run before \_SB_.PCI0.LPCB.EC0_._REG

But currently early EC _REG method is run before _INI as below acpi_bus_init shows.

void __init acpi_bus_init(void)
         .....
         status = acpi_ec_ecdt_probe();
         /* Ignore result. Not having an ECDT is not fatal. */

         status = acpi_initialize_objects(ACPI_FULL_INITIALIZATION);
         .....
}

acpi_ec_ecdt_probe will install ec handler although no ECDT found in this machine.

Alexey, 
How about that if there's no ECDT found, we do not install ec handler before acpi_initialize_objects?

Lin Ming



--
To unsubscribe from this list: send the line "unsubscribe linux-acpi" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-12-16 10:17 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-12-15  3:51 Bug 11884 - _REG and _INI Lin Ming
2008-12-15  7:27 ` Zhao Yakui
2008-12-15  9:26   ` Alexey Starikovskiy
2008-12-15 10:47     ` Alexey Starikovskiy
2008-12-16  1:07       ` Zhao Yakui
2008-12-16 10:17         ` Alexey Starikovskiy

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.