]> git.ipfire.org Git - thirdparty/ipxe.git/commit
[hermon] Ensure hardware is quiescent when no interfaces are open
authorMichael Brown <mcb30@ipxe.org>
Mon, 14 Nov 2011 19:13:31 +0000 (19:13 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 15 Nov 2011 04:12:07 +0000 (04:12 +0000)
commit6dd4ac77e593de3bb3825a4c868078c9aa0a887e
treeb11d647939a34c5f4bad6f272c737690624dbdcc
parenta02f9e0ca5821c09efb965d31480e990f7610af9
[hermon] Ensure hardware is quiescent when no interfaces are open

WinPE has been observed to call PXENV_UNDI_SHUTDOWN but not
PXENV_STOP_UNDI.  This means that Hermon hardware is left partially
active (firmware running and one event queue mapped) when WinPE starts
up, which can cause a Blue Screen of Death.

Fix by ensuring that the hardware is left quiescent (with the firmware
stopped) when no interfaces are open.

Reported-by: Itay Gazit <itayg@mellanox.co.il>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/infiniband/hermon.c
src/drivers/infiniband/hermon.h