]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[eisa] Check for system board presence before probing for slots 888/head
authorMichael Brown <mcb30@ipxe.org>
Fri, 10 Feb 2023 23:18:47 +0000 (23:18 +0000)
committerMichael Brown <mcb30@ipxe.org>
Fri, 10 Feb 2023 23:34:59 +0000 (23:34 +0000)
commitbe8ecaf8059a34f27ed34bbc2e95806537802108
tree42c78220f26a47eccdaec9d00b7f9d5d3b0a3965
parent62a1d5c0f5bc52227ba43ccb7924694d661449a2
[eisa] Check for system board presence before probing for slots

EISA expansion slot I/O port addresses overlap space that may be
assigned to PCI devices, which can lead to register reads and writes
with unwanted side effects during EISA probing.

Reduce the chances of performing EISA probing on PCI devices by
probing EISA slot vendor and product ID registers only if the EISA
system board vendor ID register indicates that the motherboard
supports EISA.

Debugged-by: Václav Ovsík <vaclav.ovsik@gmail.com>
Tested-by: Václav Ovsík <vaclav.ovsik@gmail.com>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/bus/eisa.c