svn commit: r185639 - head/sys/arm/mv
Rafal Jaworowski
raj at FreeBSD.org
Fri Dec 5 07:27:28 PST 2008
Author: raj
Date: Fri Dec 5 15:27:28 2008
New Revision: 185639
URL: http://svn.freebsd.org/changeset/base/185639
Log:
Fix configuration of the PCI bridge. This got omitted in the initial import of
this code.
Modified:
head/sys/arm/mv/mv_pci.c
Modified: head/sys/arm/mv/mv_pci.c
==============================================================================
--- head/sys/arm/mv/mv_pci.c Fri Dec 5 15:26:19 2008 (r185638)
+++ head/sys/arm/mv/mv_pci.c Fri Dec 5 15:27:28 2008 (r185639)
@@ -598,6 +598,10 @@ pcib_mbus_init_bridge(struct pcib_mbus_s
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,
More information about the svn-src-all
mailing list