
Sabre has a slightly different reg property than that of other PCI host bridges. Hardcode the correct value as taken from a real Ultra 5 device tree. Signed-off-by: Mark Cave-Ayland <mark.cave-ayland@ilande.co.uk> --- drivers/pci.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/drivers/pci.c b/drivers/pci.c index 8b09d94..ec637d9 100644 --- a/drivers/pci.c +++ b/drivers/pci.c @@ -504,6 +504,17 @@ static int sabre_configure(phandle_t dev) { uint32_t props[28]; + /* Sabre has a custom reg property from the default */ + props[0] = 0x1fe; + props[1] = 0x0; + props[2] = 0x0; + props[3] = 0x10000; + props[4] = 0x1fe; + props[5] = 0x1000000; + props[6] = 0x0; + props[7] = 0x100; + set_property(dev, "reg", (char *)props, 8 * sizeof(props[0])); + props[0] = 0xc0000000; props[1] = 0x20000000; set_property(dev, "virtual-dma", (char *)props, 2 * sizeof(props[0])); -- 1.7.10.4