Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/dev/acpi - Show SCI interrupt information.
details: https://anonhg.NetBSD.org/src/rev/78036ad4aeb4
branches: trunk
changeset: 532875:78036ad4aeb4
user: kanaoka <kanaoka%NetBSD.org@localhost>
date: Mon Jun 17 08:18:51 2002 +0000
description:
- Show SCI interrupt information.
- Remove ACPI_STA_DEV_SHOW from device check in acpi_build_tree().
diffstat:
sys/dev/acpi/acpi.c | 13 ++++++++-----
1 files changed, 8 insertions(+), 5 deletions(-)
diffs (49 lines):
diff -r d0c7a0b63d38 -r 78036ad4aeb4 sys/dev/acpi/acpi.c
--- a/sys/dev/acpi/acpi.c Mon Jun 17 07:47:33 2002 +0000
+++ b/sys/dev/acpi/acpi.c Mon Jun 17 08:18:51 2002 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: acpi.c,v 1.8 2002/06/15 18:03:41 thorpej Exp $ */
+/* $NetBSD: acpi.c,v 1.9 2002/06/17 08:18:51 kanaoka Exp $ */
/*
* Copyright 2001 Wasabi Systems, Inc.
@@ -41,7 +41,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.8 2002/06/15 18:03:41 thorpej Exp $");
+__KERNEL_RCSID(0, "$NetBSD: acpi.c,v 1.9 2002/06/17 08:18:51 kanaoka Exp $");
#include <sys/param.h>
#include <sys/systm.h>
@@ -254,6 +254,10 @@
/* Our current state is "awake". */
sc->sc_sleepstate = ACPI_STATE_S0;
+ /* Show SCI interrupt. */
+ if (AcpiGbl_FADT != NULL)
+ printf("%s: SCI interrupting at irq %d\n",
+ sc->sc_dev.dv_xname, AcpiGbl_FADT->SciInt);
/*
* Check for fixed-hardware features.
*/
@@ -381,7 +385,6 @@
*
* - present
* - enabled
- * - to be shown
* - functioning properly
*
* However, if enabled, it's decoding resources,
@@ -390,9 +393,9 @@
*/
if ((ad->ad_devinfo.CurrentStatus &
(ACPI_STA_DEV_PRESENT|ACPI_STA_DEV_ENABLED|
- ACPI_STA_DEV_SHOW|ACPI_STA_DEV_OK)) !=
+ ACPI_STA_DEV_OK)) !=
(ACPI_STA_DEV_PRESENT|ACPI_STA_DEV_ENABLED|
- ACPI_STA_DEV_SHOW|ACPI_STA_DEV_OK))
+ ACPI_STA_DEV_OK))
continue;
/*
Home |
Main Index |
Thread Index |
Old Index