acpi_ec_ecdt_probe => acpi_ec_identify

Andriy Gapon avg at icyb.net.ua
Thu Feb 4 22:29:20 UTC 2010


I would like to convert acpi_ec_ecdt_probe to device_identify method.
Rationale:
1. It doesn't look like any device is using acpi_ec's services during identify
stage (or earlier) and acpi_ec already has a rather high priority among acpi
drivers that it would probe and attach before most of them.
2. Making a driver 'less special' is always a good thing in general.
3. Probing/attachment of acpi_ec at the current very early stage may even fail
because it could be dependent on things done by other, even more fundamental,
drivers that provide system resources.
4. To expand the above: on some systems EC _REG method accesses things that only
get dynamically loaded after Processor's _PDC/_OSC is evaluated[*]. Converting
acpi_ec_ecdt_probe => acpi_ec_identify won't help here, but this would be a
first step towards a solution.

[*]
http://www.freebsd.org/cgi/query-pr.cgi?pr=kern/142561
Followups from Jan 15 on.

-- 
Andriy Gapon


More information about the freebsd-acpi mailing list