summaryrefslogtreecommitdiff
path: root/sys/arch/armv7/conf
diff options
context:
space:
mode:
authorPatrick Wildt <patrick@cvs.openbsd.org>2018-05-23 08:36:16 +0000
committerPatrick Wildt <patrick@cvs.openbsd.org>2018-05-23 08:36:16 +0000
commitd88153b3d81553f61feb93be97849e002f64f104 (patch)
tree3a43a88006b395fa69487521b5397f823c8222c2 /sys/arch/armv7/conf
parentba50231bab01e91be3dbb36908fe1b7363dbe57c (diff)
Map the second bwfm(4) BAR first. The bwfm(4) PCIe devices have two
BARs, where the second one is much larger than the first. Both need to be properly aligned in the given extent. Since the first one is smaller, it will "unalign" the next free space and thus create a gap so that the second BAR cannot be properly aligned in the given space. By mapping the second BAR first, it will automatically have proper alignment. The first BAR, which has fewer alignment requirements, fits well after the initial allocation. Fixes bwfm(4) on APU 1. Debugged and solved by kettenis@
Diffstat (limited to 'sys/arch/armv7/conf')
0 files changed, 0 insertions, 0 deletions