[undi] Treat invalid IRQ numbers as non-fatal errors
authorMichael Brown <mcb30@ipxe.org>
Wed, 21 Mar 2018 08:28:05 +0000 (10:28 +0200)
committerMichael Brown <mcb30@ipxe.org>
Wed, 21 Mar 2018 08:28:05 +0000 (10:28 +0200)
commit0600ffeb3051a3ccbd56a4d6999d3eb55bc886df
treeac545a82980f71b98ad27cceb4ef4f421a570f4a
parent1df3b53051e2baa99abd00b2fe71ccfa6672331e
[undi] Treat invalid IRQ numbers as non-fatal errors

If the underlying PXE stack reports an invalid IRQ number (above
IRQ_MAX), treat this as equivalent to an empty IRQ number and fall
back to using polling mode.

Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/x86/drivers/net/undinet.c