• Russell King's avatar
    [PCI] pci-15: Fix setup-bus.c resource sizing. · 18e35894
    Russell King authored
    Patch from Ivan Kokshaysky
    
    This fixes long standing typo ('size' instead of 'r_size') which causes
    overestimate of the bridge memory ranges calculated in pbus_size_mem().
    For example, if we have a device with one 1Mb and one 2Mb memory ranges
    behind the bridge, calculated size and alignment of the bridge memory
    window will be 4Mb and 2Mb respectively, while the correct values are
    3Mb and 1Mb.
    18e35894
setup-bus.c 10.3 KB