From owner-cvs-all@FreeBSD.ORG Tue Jan 27 11:10:52 2004 Return-Path: Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 08BCF16A4CF for ; Tue, 27 Jan 2004 11:10:52 -0800 (PST) Received: from root.org (root.org [67.118.192.226]) by mx1.FreeBSD.org (Postfix) with SMTP id 9CDDD43D76 for ; Tue, 27 Jan 2004 11:10:25 -0800 (PST) (envelope-from nate@root.org) Received: (qmail 37368 invoked by uid 1000); 27 Jan 2004 19:10:25 -0000 Date: Tue, 27 Jan 2004 11:10:25 -0800 (PST) From: Nate Lawson To: Peter Pentchev In-Reply-To: <20040127105334.GI823@straylight.m.ringlet.net> Message-ID: <20040127110958.X37323@root.org> References: <20040126200039.0F1F516A4D2@hub.freebsd.org> <20040127105334.GI823@straylight.m.ringlet.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: cvs-src@FreeBSD.org cc: src-committers@FreeBSD.org cc: cvs-all@FreeBSD.org cc: John Baldwin Subject: Re: cvs commit: src/sys/dev/acpica acpi.c acpivar.h X-BeenThere: cvs-all@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: CVS commit messages for the entire tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Jan 2004 19:10:52 -0000 On Tue, 27 Jan 2004, Peter Pentchev wrote: > On Mon, Jan 26, 2004 at 12:00:39PM -0800, John Baldwin wrote: > > To: src-committers@FreeBSD.org, cvs-src@FreeBSD.org, > > cvs-all@FreeBSD.org > > Message-ID: <200401261929.i0QJT45s012253@repoman.freebsd.org> > > > > jhb 2004/01/26 11:29:04 PST > > > > FreeBSD src repository > > > > Modified files: > > sys/dev/acpica acpi.c acpivar.h > > Log: > > Move the code to initialize ACPI-CA into a separate acpi_Startup() function > > that other modules can call to initialize ACPI-CA before the new-bus probe > > and change acpi_identify() to call it. > > > > Reviewed by: njl > > This seems to also need the attached patch (trivial: add an > ACPI_FUNCTION_TRACE() to the acpi_Startup() routine) to build LINT. > > Index: src/sys/dev/acpica/acpi.c > =================================================================== > RCS file: /home/ncvs/src/sys/dev/acpica/acpi.c,v > retrieving revision 1.114 > diff -u -r1.114 acpi.c > --- src/sys/dev/acpica/acpi.c 26 Jan 2004 19:29:03 -0000 1.114 > +++ src/sys/dev/acpica/acpi.c 27 Jan 2004 09:02:06 -0000 > @@ -204,6 +204,8 @@ > #endif > static int error, started = 0; > > + ACPI_FUNCTION_TRACE((char *)(uintptr_t)__func__); > + > if (started) > return_VALUE(error); > started = 1; > Correct, I missed the ACPI_DEBUG case. -Nate