Module Name: src Committed By: snj Date: Mon Feb 26 00:56:29 UTC 2018
Modified Files: src/sys/dev/pci [netbsd-8]: pci_subr.c pcireg.h ppbreg.h Log Message: Pull up following revision(s) (requested by msaitoh in ticket #576): sys/dev/pci/pci_subr.c: 1.197-1.200 sys/dev/pci/pcireg.h: 1.136-1.137 sys/dev/pci/ppbreg.h: 1.8 Add VGA 16bit decode bit into the PCI bridge control register. This bit is defined in PCI-to-PCI Bridge Architecture Specification Revision 1.2. This bit has meaning if the VGA enable bit or the VGA Palette Snoop Enable bit is set. NOTE: sys/arch/x86/pci/pci_ranges.c::mmio_range_extend_by_vga_enable() and/or some other functions should be modified. "s/above 300W/greater than 300W/" in pci_conf_print_pcie_power(). From PCIe Base Spec 3.1a Errata 2017-12-13. Cleanup: - Don't pass a capability pointer as a argument of pci_conf_find_cap() and determine the first pointer in the pci_conf_find_cap() function. - Don't pass a capability pointer as a argument of pci_conf_find_extcap() because it's not used. - Remove unsed code. - Add PCie Link Activation ECN. - Use macro. - KNF. To generate a diff of this commit: cvs rdiff -u -r1.183.2.3 -r1.183.2.4 src/sys/dev/pci/pci_subr.c cvs rdiff -u -r1.130.2.2 -r1.130.2.3 src/sys/dev/pci/pcireg.h cvs rdiff -u -r1.7 -r1.7.2.1 src/sys/dev/pci/ppbreg.h Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.