From 4e56e8a81bca30de564f45d25f0142ccad9cd74c Mon Sep 17 00:00:00 2001 From: Mark Kettenis Date: Tue, 26 Jun 2018 06:52:59 +0000 Subject: Let acpi(4) pass down the bus dma tag. ok deraadt@ --- sys/dev/acpi/acpivar.h | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'sys/dev/acpi/acpivar.h') diff --git a/sys/dev/acpi/acpivar.h b/sys/dev/acpi/acpivar.h index 451bb10c7f1..8d4ffc47ef0 100644 --- a/sys/dev/acpi/acpivar.h +++ b/sys/dev/acpi/acpivar.h @@ -1,4 +1,4 @@ -/* $OpenBSD: acpivar.h,v 1.91 2018/06/25 22:33:24 kettenis Exp $ */ +/* $OpenBSD: acpivar.h,v 1.92 2018/06/26 06:52:58 kettenis Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * @@ -57,6 +57,7 @@ struct acpi_attach_args { char *aaa_name; bus_space_tag_t aaa_iot; bus_space_tag_t aaa_memt; + bus_dma_tag_t aaa_dmat; void *aaa_table; struct aml_node *aaa_node; const char *aaa_dev; @@ -204,10 +205,7 @@ struct acpi_softc { bus_space_tag_t sc_iot; bus_space_tag_t sc_memt; -#if 0 - bus_space_tag_t sc_pcit; - bus_space_tag_t sc_smbust; -#endif + bus_dma_tag_t sc_dmat; /* * First-level ACPI tables -- cgit v1.2.3