From: miod Date: Tue, 29 Jul 2008 18:40:23 +0000 (+0000) Subject: Give the eisa device a valid bus_dma_tag_t. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=3b17992d26da23e786b5eef2c6c99b4a97c4ea91;p=openbsd Give the eisa device a valid bus_dma_tag_t. --- 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); }