Overwrite the device descriptor's IRQ number with whatever the legacy
authorMichael Brown <mcb30@etherboot.org>
Sat, 15 Dec 2007 19:32:32 +0000 (19:32 +0000)
committerMichael Brown <mcb30@etherboot.org>
Sat, 15 Dec 2007 19:32:32 +0000 (19:32 +0000)
commit1d7974182e1e52a9296a0288c37f1002aaab8edb
tree7a4e3dbc557f5b4534384681f468021e9f8137ab
parent9747c1a486151db1d2867caf1f95f2ab1759ab5a
Overwrite the device descriptor's IRQ number with whatever the legacy
driver's probe() routine fills in in nic->irqno.  This is so that
non-interrupt-capable legacy drivers which set nic->irqno=0 will end
up reporting IRQ#0 via PXENV_UNDI_GET_INFORMATION; this in turn means
that the calling PXE NBP will (should) hook the timer interrupt, and
everything will sort of work.
src/drivers/net/legacy.c