From: patrick Date: Sun, 7 Mar 2021 15:17:58 +0000 (+0000) Subject: Pass standard DMA tag to acpi(4) table drivers. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=88879e78faf92cf106b89bb8c81bdd6fef47cedd;p=openbsd Pass standard DMA tag to acpi(4) table drivers. ok kettenis@ --- diff --git a/sys/dev/acpi/acpi.c b/sys/dev/acpi/acpi.c index 4c824ee6cbb..12c59317e0d 100644 --- a/sys/dev/acpi/acpi.c +++ b/sys/dev/acpi/acpi.c @@ -1,4 +1,4 @@ -/* $OpenBSD: acpi.c,v 1.395 2020/12/27 23:06:34 deraadt Exp $ */ +/* $OpenBSD: acpi.c,v 1.396 2021/03/07 15:17:58 patrick Exp $ */ /* * Copyright (c) 2005 Thorsten Lockert * Copyright (c) 2005 Jordan Hargrave @@ -1202,6 +1202,7 @@ acpi_attach_common(struct acpi_softc *sc, paddr_t base) memset(&aaa, 0, sizeof(aaa)); aaa.aaa_iot = sc->sc_iot; aaa.aaa_memt = sc->sc_memt; + aaa.aaa_dmat = sc->sc_ci_dmat; aaa.aaa_table = entry->q_table; config_found_sm(&sc->sc_dev, &aaa, acpi_print, acpi_submatch); }