]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[pci] Cache ECAM mapping errors
authorMichael Brown <mcb30@ipxe.org>
Thu, 2 Nov 2023 15:16:19 +0000 (15:16 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 2 Nov 2023 15:20:27 +0000 (15:20 +0000)
commit1f3a37e342ff110a451afcdf15c75a90e643208d
tree6816c463a8afc898bf018d2599c82505657541b0
parent74ec00a9f336152fccf8df9cc9c5a46ab1a649b4
[pci] Cache ECAM mapping errors

When an error occurs during ECAM configuration space mapping, preserve
the error within the existing cached mapping (instead of invalidating
the cached mapping) in order to avoid flooding the debug log with
repeated identical mapping errors.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/bus/ecam.c
src/include/ipxe/ecam.h