Date: Sat, 6 May 2006 23:35:25 -0400 From: John Baldwin <jhb@freebsd.org> To: Nate Lawson <njl@freebsd.org> Cc: cvs-src@freebsd.org, src-committers@freebsd.org, cvs-all@freebsd.org Subject: Re: cvs commit: src/sys/dev/acpica acpi.c acpi_resource.c Message-ID: <200605062335.25791.jhb@freebsd.org> In-Reply-To: <200605070328.k473SAM1081418@repoman.freebsd.org> References: <200605070328.k473SAM1081418@repoman.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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! =2D-=20 John Baldwin <jhb@FreeBSD.org> =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200605062335.25791.jhb>