cvs commit: src/sys/dev/acpica acpi.c acpi_resource.c

John Baldwin jhb at freebsd.org
Sun May 7 03:44:27 UTC 2006


On Saturday 06 May 2006 23:28, Nate Lawson wrote:
> njl         2006-05-07 03:28:10 UTC
>
>   FreeBSD src repository
>
>   Modified files:
>     sys/dev/acpica       acpi.c acpi_resource.c
>   Log:
>   Don't attach special devices in the order they appear in the AML tree.
>   If the embedded controller exists before the sysresource devices, for
>   example, it will be attached first.  Instead, let the normal device
>   order function work as we first desired. [1]
>
>   There still remained a problem where we couldn't allocate resources in
>   acpi0 that were passed up by the sysresource pseudo-devices.  These
>   devices had to probe/attach first to give their resources to acpi, then
>   acpi would allocate them before probing/attaching other devices.  To
>   work around this, we attach them from acpi_sysres_alloc().  A better
>   approach would be to implement multi-pass probe/attach in newbus but
>   that's a much bigger task.
>
>   Suggested by:   jhb [1]
>   Hardware from:  Centaur Technologies
>   MFC after:      1 week

Thanks!

-- 
John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the cvs-src mailing list