summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpica
diff options
context:
space:
mode:
authornjl <njl@FreeBSD.org>2004-07-22 05:42:14 +0000
committernjl <njl@FreeBSD.org>2004-07-22 05:42:14 +0000
commit1fc2c4388ab2471f2bd2ee212a1bf9cdfe4456c2 (patch)
treedba7e0b46da606065205f92a0772207c628be4e8 /sys/dev/acpica
parent6cc8d1d266d9241b85a41408b8ecd9d8960d5558 (diff)
downloadFreeBSD-src-1fc2c4388ab2471f2bd2ee212a1bf9cdfe4456c2.zip
FreeBSD-src-1fc2c4388ab2471f2bd2ee212a1bf9cdfe4456c2.tar.gz
Reinsert the bus space handle and tag, they are needed for the timer test.
Diffstat (limited to 'sys/dev/acpica')
-rw-r--r--sys/dev/acpica/acpi_timer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/dev/acpica/acpi_timer.c b/sys/dev/acpica/acpi_timer.c
index 5856019..abae0c3 100644
--- a/sys/dev/acpica/acpi_timer.c
+++ b/sys/dev/acpica/acpi_timer.c
@@ -157,6 +157,8 @@ acpi_timer_probe(device_t dev)
(u_long)AcpiGbl_FADT->XPmTmrBlk.Address);
return (ENXIO);
}
+ acpi_timer_bsh = rman_get_bushandle(acpi_timer_reg);
+ acpi_timer_bst = rman_get_bustag(acpi_timer_reg);
if (AcpiGbl_FADT->TmrValExt != 0)
acpi_timer_timecounter.tc_counter_mask = 0xffffffff;
else
OpenPOWER on IntegriCloud