c018d57803
On reset and close, the ICR register is read to clear any pending interrupts, but the value is simply ignored. Avoid assigning the value to a variable, to inhibit a warning from gcc 4.6. Also fix a potential race condition in reset routines which clear interrupts before disabling them. Reported-by: Ralph Giles <giles@thaumas.net> Tested-by: Ralph Giles <giles@thaumas.net> Signed-off-by: Michael Brown <mcb30@ipxe.org> |
||
---|---|---|
.. | ||
e1000e_80003es2lan.c | ||
e1000e_80003es2lan.h | ||
e1000e_82571.c | ||
e1000e_82571.h | ||
e1000e_defines.h | ||
e1000e_hw.h | ||
e1000e_ich8lan.c | ||
e1000e_ich8lan.h | ||
e1000e_mac.c | ||
e1000e_mac.h | ||
e1000e_main.c | ||
e1000e_manage.c | ||
e1000e_manage.h | ||
e1000e_nvm.c | ||
e1000e_nvm.h | ||
e1000e_phy.c | ||
e1000e_phy.h | ||
e1000e_regs.h | ||
e1000e.c | ||
e1000e.h |