cvs commit: src/sys/dev/acpica acpi.c acpivar.h

Peter Pentchev roam at ringlet.net
Tue Jan 27 02:53:57 PST 2004


On Mon, Jan 26, 2004 at 12:00:39PM -0800, John Baldwin wrote:
> To: src-committers at FreeBSD.org, cvs-src at FreeBSD.org,
> 	cvs-all at FreeBSD.org
> Message-ID: <200401261929.i0QJT45s012253 at 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.

G'luck,
Peter

-- 
Peter Pentchev	roam at ringlet.net    roam at sbnd.net    roam at FreeBSD.org
PGP key:	http://people.FreeBSD.org/~roam/roam.key.asc
Key fingerprint	FDBA FD79 C26F 3C51 C95E  DF9E ED18 B68D 1619 4553
This sentence contains exactly threee erors.

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;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20040127/ac674f84/attachment-0001.bin


More information about the cvs-src mailing list