summaryrefslogtreecommitdiffstats
path: root/sys/arm
diff options
context:
space:
mode:
authorraj <raj@FreeBSD.org>2008-12-05 15:27:28 +0000
committerraj <raj@FreeBSD.org>2008-12-05 15:27:28 +0000
commit167200f6d1a3d6ab306d5199046d1896b812513f (patch)
tree7672dc2450094a75e8aac8d691f869721af82e1b /sys/arm
parent1a93d72fb6e02da94a8bbc4bac0807f21581bbc1 (diff)
downloadFreeBSD-src-167200f6d1a3d6ab306d5199046d1896b812513f.zip
FreeBSD-src-167200f6d1a3d6ab306d5199046d1896b812513f.tar.gz
Fix configuration of the PCI bridge. This got omitted in the initial import of
this code.
Diffstat (limited to 'sys/arm')
-rw-r--r--sys/arm/mv/mv_pci.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/arm/mv/mv_pci.c b/sys/arm/mv/mv_pci.c
index 6925ab1..b878b0a 100644
--- a/sys/arm/mv/mv_pci.c
+++ b/sys/arm/mv/mv_pci.c
@@ -598,6 +598,10 @@ pcib_mbus_init_bridge(struct pcib_mbus_softc *sc, int bus, int slot, int func)
mem_limit = mem_base + sc->sc_info->op_mem_size - 1;
/* Configure I/O decode registers */
+ pcib_mbus_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEL_1,
+ io_base >> 8, 1);
+ pcib_mbus_write_config(sc->sc_dev, bus, slot, func, PCIR_IOBASEH_1,
+ io_base >> 16, 2);
pcib_mbus_write_config(sc->sc_dev, bus, slot, func, PCIR_IOLIMITL_1,
io_limit >> 8, 1);
pcib_mbus_write_config(sc->sc_dev, bus, slot, func, PCIR_IOLIMITH_1,
OpenPOWER on IntegriCloud