summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormiod <miod@openbsd.org>2008-07-29 18:40:23 +0000
committermiod <miod@openbsd.org>2008-07-29 18:40:23 +0000
commit3b17992d26da23e786b5eef2c6c99b4a97c4ea91 (patch)
tree45f04b3a670c138489a0a735d121dee837856c66
parentFix range check in sio_intr_establish(). (diff)
downloadwireguard-openbsd-3b17992d26da23e786b5eef2c6c99b4a97c4ea91.tar.xz
wireguard-openbsd-3b17992d26da23e786b5eef2c6c99b4a97c4ea91.zip
Give the eisa device a valid bus_dma_tag_t.
-rw-r--r--sys/arch/alpha/pci/sio.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/arch/alpha/pci/sio.c b/sys/arch/alpha/pci/sio.c
index c8d80c05c16..ee7994d7b90 100644
--- a/sys/arch/alpha/pci/sio.c
+++ b/sys/arch/alpha/pci/sio.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: sio.c,v 1.34 2008/07/25 21:11:15 miod Exp $ */
+/* $OpenBSD: sio.c,v 1.35 2008/07/29 18:40:23 miod Exp $ */
/* $NetBSD: sio.c,v 1.15 1996/12/05 01:39:36 cgd Exp $ */
/*
@@ -178,6 +178,8 @@ sio_bridge_callback(self)
sa.sa_eba.eba_busname = "eisa";
sa.sa_eba.eba_iot = sc->sc_iot;
sa.sa_eba.eba_memt = sc->sc_memt;
+ sa.sa_eba.eba_dmat =
+ alphabus_dma_get_tag(sc->sc_dmat, ALPHA_BUS_EISA);
sa.sa_eba.eba_ec = &ec;
config_found(&sc->sc_dv, &sa.sa_eba, sioprint);
}