summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarco <marco@openbsd.org>2006-02-22 23:53:09 +0000
committermarco <marco@openbsd.org>2006-02-22 23:53:09 +0000
commit5ade332815808d8b909cf28f3452d7a803ccefbf (patch)
treed2adf04d7f107c32588cc0c33106e8f2d2013c51
parentsort options + sync usage(); (diff)
downloadwireguard-openbsd-5ade332815808d8b909cf28f3452d7a803ccefbf.tar.xz
wireguard-openbsd-5ade332815808d8b909cf28f3452d7a803ccefbf.zip
Print out all tables it found during autoconf. We'll need this data in
the future.
-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