summaryrefslogtreecommitdiff
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-19 19:10:59 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2007-11-19 19:10:59 +0000
commit03db88335a7985afa7ec55bbcfe24397ed5839fd (patch)
tree78735fbcef7013b425d4a1c4e3b4f13d66858e90 /sys/dev/acpi
parentb074ad3182498b7dc0f6bc2e08884650a2119d71 (diff)
store revision; from jsg
Diffstat (limited to 'sys/dev/acpi')
-rw-r--r--sys/dev/acpi/acpi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c
index adaf9a27540..b46d801b4db 100644
--- a/sys/dev/acpi/acpi.c
+++ b/sys/dev/acpi/acpi.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpi.c,v 1.102 2007/11/19 18:56:41 kettenis Exp $ */
+/* $OpenBSD: acpi.c,v 1.103 2007/11/19 19:10:58 deraadt Exp $ */
/*
* Copyright (c) 2005 Thorsten Lockert <tholo@sigmasoft.com>
* Copyright (c) 2005 Jordan Hargrave <jordan@openbsd.org>
@@ -414,7 +414,8 @@ acpi_attach(struct device *parent, struct device *self, void *aux)
}
rsdp = (struct acpi_rsdp *)handle.va;
- printf(": rev %d", (int)rsdp->rsdp_revision);
+ sc->sc_revision = (int)rsdp->rsdp_revision;
+ printf(": rev %d", sc->sc_revision);
SIMPLEQ_INIT(&sc->sc_tables);
SIMPLEQ_INIT(&sc->sc_wakedevs);