Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/x86/acpi Be a bit more noisy by telling the user VG...
details: https://anonhg.NetBSD.org/src/rev/0ae701cb8d23
branches: trunk
changeset: 747104:0ae701cb8d23
user: joerg <joerg%NetBSD.org@localhost>
date: Wed Sep 02 15:42:31 2009 +0000
description:
Be a bit more noisy by telling the user VGA_POST is missing in the
kernel config when trying machdep.acpi_vbios_reset=2.
diffstat:
sys/arch/x86/acpi/acpi_wakeup.c | 9 ++++++---
1 files changed, 6 insertions(+), 3 deletions(-)
diffs (31 lines):
diff -r df0d7a80c5ed -r 0ae701cb8d23 sys/arch/x86/acpi/acpi_wakeup.c
--- a/sys/arch/x86/acpi/acpi_wakeup.c Wed Sep 02 15:25:07 2009 +0000
+++ b/sys/arch/x86/acpi/acpi_wakeup.c Wed Sep 02 15:42:31 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi_wakeup.c,v 1.17 2009/09/02 15:25:07 joerg Exp $ */
+/* $NetBSD: acpi_wakeup.c,v 1.18 2009/09/02 15:42:31 joerg Exp $ */
/*-
* Copyright (c) 2002 The NetBSD Foundation, Inc.
@@ -30,7 +30,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.17 2009/09/02 15:25:07 joerg Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi_wakeup.c,v 1.18 2009/09/02 15:42:31 joerg Exp $");
/*-
* Copyright (c) 2001 Takanori Watanabe <takawata%jp.freebsd.org@localhost>
@@ -466,8 +466,11 @@
return EINVAL;
#ifndef VGA_POST
- if (t == 2)
+ if (t == 2) {
+ aprint_error("WARNING: machdep.acpi_vbios_reset=2 "
+ "unsupported (no option VGA_POST in kernel config)\n");
return EINVAL;
+ }
#endif
acpi_md_vbios_reset = t;
Home |
Main Index |
Thread Index |
Old Index