pxe: Add code to detect a struck interrupt line and disable (go to poll)
commit624432a3429aa6c57eb8d2b03faf64c4edfdf0cc
authorH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 May 2012 23:06:23 +0000 (29 16:06 -0700)
committerH. Peter Anvin <hpa@linux.intel.com>
Tue, 29 May 2012 23:06:23 +0000 (29 16:06 -0700)
treea0162ed9a92e3b6944645582aa8d713ab5b96bbc
parentd493d0416f038f80d73b897e317e6d2c251c1775
pxe: Add code to detect a struck interrupt line and disable (go to poll)

Add code to detect a stuck interrupt line and disable it; at that
point we will go to polling mode.  Currently we only give ourselves 3
timer ticks after initialization to detect this, but this is good
enough to deal with gPXE on virtio.

Signed-off-by: H. Peter Anvin <hpa@linux.intel.com>
core/fs/pxe/isr.c
core/pxeisr.inc