[undi] Do not switch to real mode to check for NIC interrupt

Signed-off-by: Michael Brown <mcb30@ipxe.org>
pull/19/head
Michael Brown 2014-05-03 12:35:03 +01:00
parent 277f581ac3
commit 71ed061776
1 changed files with 4 additions and 4 deletions

View File

@ -343,10 +343,10 @@ static void undinet_poll ( struct net_device *netdev ) {
if ( ! undinet_isr_triggered() ) {
/* Allow interrupt to occur */
profile_start ( &undinet_irq_profiler );
__asm__ __volatile__ ( REAL_CODE ( "sti\n\t"
"nop\n\t"
"nop\n\t"
"cli\n\t" ) : : );
__asm__ __volatile__ ( "sti\n\t"
"nop\n\t"
"nop\n\t"
"cli\n\t" );
profile_stop ( &undinet_irq_profiler );
/* If interrupts are known to be supported,