]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
Implement workaround for broken access to configuration space.
authorMichal Meloun <mmel@FreeBSD.org>
Sat, 19 Sep 2020 11:27:16 +0000 (11:27 +0000)
committerMichal Meloun <mmel@FreeBSD.org>
Sat, 19 Sep 2020 11:27:16 +0000 (11:27 +0000)
commitb8bfffc1b619cca5262f848b665bd56c4de0052b
treec4e97c4166cb1d819ad07baf73dc00fbe476e803
parent95a85c125d0e6761eb56430e6679358ffab53624
Implement workaround for broken access to configuration space.
Due to a HW bug in the RockChip PCIe implementation, attempting to access
a non-existent register in the configuration space will throw an exception.
Use new bus functions bus_peek() and bus_poke() to overcomme this limitation.
sys/arm64/rockchip/rk_pcie.c