summaryrefslogtreecommitdiff
path: root/sys/dev/acpi/acpi.c
diff options
context:
space:
mode:
authorMarco Peereboom <marco@cvs.openbsd.org>2006-02-22 23:53:10 +0000
committerMarco Peereboom <marco@cvs.openbsd.org>2006-02-22 23:53:10 +0000
commit7fa9a4fde8868d8bf820970b07ec5037d9720f9d (patch)
tree3fb78ba5e5eb9f3fba041b57471a71810dda5326 /sys/dev/acpi/acpi.c
parent17f9a845b52ea5e9b78834ac3dae0bd92a2cebb9 (diff)
Print out all tables it found during autoconf. We'll need this data in
the future.
Diffstat (limited to 'sys/dev/acpi/acpi.c')
-rw-r--r--sys/dev/acpi/acpi.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index 4edfc90309d..150c39eb243 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.42 2006/02/22 20:15:03 marco Exp $ */
+/* $OpenBSD: acpi.c,v 1.43 2006/02/22 23:53:09 marco Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -686,6 +686,12 @@ acpi_attach(struct device *parent, struct device *self, void *aux)
acpi_attach_machdep(sc);
printf("\n");
+
+ printf("%s: tables ", DEVNAME(sc));
+ SIMPLEQ_FOREACH(entry, &sc->sc_tables, q_next) {
+ printf("%.4s ", entry->q_table);
+ }
+ printf("\n");
/*
* ACPI is enabled now -- attach timer