Module Name: src Committed By: msaitoh Date: Wed Jan 23 06:56:19 UTC 2019
Modified Files: src/sys/dev/pci: if_fxp_pci.c nvme_pci.c xhci_pci.c src/sys/dev/pci/ixgbe: ixgbe.c ixv.c Log Message: Nowadays some UEFI BIOSes don't enable some PCI devices' address decoding. To resolve this problem, pci_map.c rev. 1.34-1.36 changed the pci_mapreg_(sub)map()'s to set the decode bit if it's not set. It's good for almost all drivers, but some other drivers don't use pci_mapreg_map(). In drivers which don't use pci_mapreg_map(), some of them expilicitly enable decoding but others don't. Add code to enable decoding to them. See also the following discussion: http://mail-index.netbsd.org/tech-kern/2017/03/22/msg021678.html To generate a diff of this commit: cvs rdiff -u -r1.84 -r1.85 src/sys/dev/pci/if_fxp_pci.c cvs rdiff -u -r1.25 -r1.26 src/sys/dev/pci/nvme_pci.c cvs rdiff -u -r1.20 -r1.21 src/sys/dev/pci/xhci_pci.c cvs rdiff -u -r1.170 -r1.171 src/sys/dev/pci/ixgbe/ixgbe.c cvs rdiff -u -r1.107 -r1.108 src/sys/dev/pci/ixgbe/ixv.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.