diff options
author | jhb <jhb@FreeBSD.org> | 2009-01-16 22:22:30 +0000 |
---|---|---|
committer | jhb <jhb@FreeBSD.org> | 2009-01-16 22:22:30 +0000 |
commit | 9d7c60d6cda5df8a13fd42687731147716cfbac9 (patch) | |
tree | 98d45ce7811f957770bb56a6fca0f36b1c9ce56d /lib/libc/stdio/printfcommon.h | |
parent | c8283e83beb733f870ebeed9647b5de69bf22b5d (diff) | |
download | FreeBSD-src-9d7c60d6cda5df8a13fd42687731147716cfbac9.zip FreeBSD-src-9d7c60d6cda5df8a13fd42687731147716cfbac9.tar.gz |
Disable decoding of BARs by devices before we trash the value in the BAR
by writing all 1's to it to determine its length. This fixes issues with
MCFG on at least some machines where a trashed BAR claimed subsequent
attempts at PCI config transactions because the addresses in the MCFG
window fell in the decoding range of the BAR.
In general it is a bad idea to leave the BARs enabled while we are
frobbing with them in this manner.
Sleuthing by: tegge
MFC after: 1 week
Diffstat (limited to 'lib/libc/stdio/printfcommon.h')
0 files changed, 0 insertions, 0 deletions