Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Jun 2006 18:44:07 +0200
From:      des@des.no (Dag-Erling =?iso-8859-1?Q?Sm=F8rgrav?=)
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
Message-ID:  <867j3m2ujs.fsf@xps.des.no>
In-Reply-To: <200606112031.k5BKVf8u056762@repoman.freebsd.org> (Nate Lawson's message of "Sun, 11 Jun 2006 20:31:41 %2B0000 (UTC)")
References:  <200606112031.k5BKVf8u056762@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

Nate Lawson <njl@FreeBSD.org> writes:
>   Log:
>   By default, don't disable ACPI during reboot.  This appears to hang some
>   systems.  Introduce a new sysctl "hw.acpi.disable_on_reboot" that allows
>   users to re-enable the old behavior in case it's needed for some systems.
>   We never disable in the power-off path.

Seems like you forgot something:

cc -O2 -pipe -march=pentium4 -DACPI_USE_LOCAL_CACHE -fno-strict-aliasing -Werror -D_KERNEL -DKLD_MODULE -nostdinc -I-  -I/usr/src/sys/modules/acpi/acpi/../../../contrib/dev/acpica -DHAVE_KERNEL_OPTION_HEADERS -include /usr/obj/usr/src/sys/xps/opt_global.h -I. -I@ -I@/contrib/altq -finline-limit=8000 --param inline-unit-growth=100 --param large-function-growth=1000 -fno-common -g -I/usr/obj/usr/src/sys/xps -mno-align-long-strings -mpreferred-stack-boundary=2  -mno-mmx -mno-3dnow -mno-sse -mno-sse2 -mno-sse3 -ffreestanding -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes  -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual  -Wundef -fformat-extensions -std=c99 -c /usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c: In function `acpi_attach':
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:525: error: structure has no member named `acpi_do_disable'
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c: In function `acpi_shutdown_final':
/usr/src/sys/modules/acpi/acpi/../../../dev/acpica/acpi.c:1672: error: structure has no member named `acpi_do_disable'
*** Error code 1

DES
-- 
Dag-Erling Smørgrav - des@des.no



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?867j3m2ujs.fsf>