From owner-cvs-src@FreeBSD.ORG Sun May 7 03:44:27 2006 Return-Path: X-Original-To: cvs-src@freebsd.org Delivered-To: cvs-src@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABF9116A407; Sun, 7 May 2006 03:44:27 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from server.baldwin.cx (66-23-211-162.clients.speedfactory.net [66.23.211.162]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2881743D46; Sun, 7 May 2006 03:44:26 +0000 (GMT) (envelope-from jhb@freebsd.org) Received: from zion.baldwin.cx (zion.baldwin.cx [192.168.0.7]) (authenticated bits=0) by server.baldwin.cx (8.13.4/8.13.4) with ESMTP id k473iP6o076429; Sat, 6 May 2006 23:44:25 -0400 (EDT) (envelope-from jhb@freebsd.org) From: John Baldwin To: Nate Lawson Date: Sat, 6 May 2006 23:35:25 -0400 User-Agent: KMail/1.9.1 References: <200605070328.k473SAM1081418@repoman.freebsd.org> In-Reply-To: <200605070328.k473SAM1081418@repoman.freebsd.org> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-15" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200605062335.25791.jhb@freebsd.org> X-Virus-Scanned: ClamAV 0.87.1/1446/Sat May 6 19:46:08 2006 on server.baldwin.cx X-Virus-Status: Clean X-Spam-Status: No, score=-4.4 required=4.2 tests=ALL_TRUSTED,AWL,BAYES_00 autolearn=ham version=3.1.0 X-Spam-Checker-Version: SpamAssassin 3.1.0 (2005-09-13) on server.baldwin.cx 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 X-BeenThere: cvs-src@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the src tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 May 2006 03:44:27 -0000 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 =A0<>< =A0http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve" =A0=3D =A0http://www.FreeBSD.org