]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
The minimim grant and maximum latency PCI config registers are only valid
authorJohn Baldwin <jhb@FreeBSD.org>
Wed, 22 Apr 2015 21:41:59 +0000 (21:41 +0000)
committerJohn Baldwin <jhb@FreeBSD.org>
Wed, 22 Apr 2015 21:41:59 +0000 (21:41 +0000)
commit65c7c1b4249be7ddd72c14c44256859ba39c90f5
tree083ad66c029672da13dd016b174ca6efc0273129
parentf2d55827ea0e18bea8320ac7429e95a39298d380
The minimim grant and maximum latency PCI config registers are only valid
for type 0 devices, not type 1 or 2 bridges.  Don't read them for bridge
devices during bus scans and return an error when attempting to read them
as ivars for bridge devices.
sys/dev/pci/pci.c