summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorMark Kettenis <kettenis@cvs.openbsd.org>2019-05-24 08:24:02 +0000
committerMark Kettenis <kettenis@cvs.openbsd.org>2019-05-24 08:24:02 +0000
commit277cc0f0a77a09a9d024509d5f1735dff310b34d (patch)
tree6067b68885ad79da967bb60f0450ef8814c26679 /sys
parent9af3c67291c12c4bd9daa58d54380c3ad4e683ae (diff)
Pass extent for prefetchable mmio. Since there is no distinction between
prefetchable and "normal" mmio at the host bridge level we can simply pass the same extent. ok patrick@
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/arm64/dev/acpipci.c3
-rw-r--r--sys/arch/arm64/dev/pciecam.c3
2 files changed, 4 insertions, 2 deletions
diff --git a/sys/arch/arm64/dev/acpipci.c b/sys/arch/arm64/dev/acpipci.c
index 85d0b4afa39..88a140a5f8d 100644
--- a/sys/arch/arm64/dev/acpipci.c
+++ b/sys/arch/arm64/dev/acpipci.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: acpipci.c,v 1.7 2018/08/19 08:23:47 kettenis Exp $ */
+/* $OpenBSD: acpipci.c,v 1.8 2019/05/24 08:24:01 kettenis Exp $ */
/*
* Copyright (c) 2018 Mark Kettenis
*
@@ -198,6 +198,7 @@ acpipci_attach(struct device *parent, struct device *self, void *aux)
pba.pba_busex = sc->sc_busex;
pba.pba_ioex = sc->sc_ioex;
pba.pba_memex = sc->sc_memex;
+ pba.pba_pmemex = sc->sc_memex;
pba.pba_domain = pci_ndomains++;
pba.pba_bus = sc->sc_bus;
pba.pba_flags |= PCI_FLAGS_MSI_ENABLED;
diff --git a/sys/arch/arm64/dev/pciecam.c b/sys/arch/arm64/dev/pciecam.c
index 9a3c4b603c4..8695187b79e 100644
--- a/sys/arch/arm64/dev/pciecam.c
+++ b/sys/arch/arm64/dev/pciecam.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pciecam.c,v 1.6 2018/08/09 12:25:38 kettenis Exp $ */
+/* $OpenBSD: pciecam.c,v 1.7 2019/05/24 08:24:01 kettenis Exp $ */
/*
* Copyright (c) 2013,2017 Patrick Wildt <patrick@blueri.se>
*
@@ -244,6 +244,7 @@ pciecam_attach(struct device *parent, struct device *self, void *aux)
pba.pba_memt = &sc->sc_bus;
pba.pba_ioex = sc->sc_ioex;
pba.pba_memex = sc->sc_memex;
+ pba.pba_pmemex = sc->sc_memex;
pba.pba_pc = &sc->sc_pc;
pba.pba_domain = pci_ndomains++;
pba.pba_bus = 0;