diff options
author | Miod Vallat <miod@cvs.openbsd.org> | 2014-10-02 18:55:50 +0000 |
---|---|---|
committer | Miod Vallat <miod@cvs.openbsd.org> | 2014-10-02 18:55:50 +0000 |
commit | 55f7b15d33938346da53c71aed95acee165d3aa5 (patch) | |
tree | 91e669efd3010b26f774d790c4febef79cc2b925 /sys/arch | |
parent | 3b9556ac9b0d66c48ad18d6277b407a7595e6b2c (diff) |
Pass the right bus_dmatag_t to the children.
Diffstat (limited to 'sys/arch')
-rw-r--r-- | sys/arch/sgi/gio/pci_gio.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/arch/sgi/gio/pci_gio.c b/sys/arch/sgi/gio/pci_gio.c index 4005b9c394f..ac359747ae8 100644 --- a/sys/arch/sgi/gio/pci_gio.c +++ b/sys/arch/sgi/gio/pci_gio.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pci_gio.c,v 1.2 2014/05/19 21:18:42 miod Exp $ */ +/* $OpenBSD: pci_gio.c,v 1.3 2014/10/02 18:55:49 miod Exp $ */ /* $NetBSD: pci_gio.c,v 1.9 2011/07/01 18:53:46 dyoung Exp $ */ /* @@ -283,7 +283,7 @@ giopci_attach(struct device *parent, struct device *self, void *aux) bzero(&pba, sizeof(pba)); pba.pba_busname = "pci"; pba.pba_iot = pba.pba_memt = ga->ga_iot; - if (sc->sc_dma_boundary != 0) + if (sc->sc_dma_boundary == 0) pba.pba_dmat = ga->ga_dmat; else pba.pba_dmat = &sc->sc_dmat_store; |