Module Name: src Committed By: martin Date: Thu Jun 7 15:52:54 UTC 2018
Modified Files: src/sys/arch/x86/x86 [netbsd-8]: efi.c src/sys/dev/pci [netbsd-8]: pci_map.c pcivar.h Log Message: Pull up following revision(s) (requested by jakllsch in ticket #832): sys/dev/pci/pcivar.h: revision 1.112 sys/dev/pci/pci_map.c: revision 1.34,1.35 sys/arch/x86/x86/efi.c: revision 1.15 Enable the appropriate memory or I/O space decode in the PCI Command/Status Register upon mapping a BAR. This should fix PR #53286. It's also possible there are other similar PRs that might be fixed by this. - Refine previous change to enable PCI window decoding in Command Register upon mapping; conditionalize on a global variable, that is set to true on x86 machines booting under EFI. For now, initialize the global variable at compile time to false. This is intended to limit potential problems for other NetBSD ports, should this changeset be pulled up to netbsd-8. Related to PR #53286. To generate a diff of this commit: cvs rdiff -u -r1.11 -r1.11.6.1 src/sys/arch/x86/x86/efi.c cvs rdiff -u -r1.33 -r1.33.6.1 src/sys/dev/pci/pci_map.c cvs rdiff -u -r1.109 -r1.109.8.1 src/sys/dev/pci/pcivar.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.