summaryrefslogtreecommitdiffstats
path: root/src/arch/i386/drivers/net/undinet.c
diff options
context:
space:
mode:
authorMichael Brown2014-05-03 13:35:03 +0200
committerMichael Brown2014-05-03 20:52:10 +0200
commit71ed061776bcb3b58ee32a3d40bfa47109717c19 (patch)
tree4e07670ff34d829a7e411ce92277ce56a4f96047 /src/arch/i386/drivers/net/undinet.c
parent[undi] Report any PXENV_UNDI_ISR errors via netdev_rx_err() (diff)
downloadipxe-71ed061776bcb3b58ee32a3d40bfa47109717c19.tar.gz
ipxe-71ed061776bcb3b58ee32a3d40bfa47109717c19.tar.xz
ipxe-71ed061776bcb3b58ee32a3d40bfa47109717c19.zip
[undi] Do not switch to real mode to check for NIC interrupt
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/arch/i386/drivers/net/undinet.c')
-rw-r--r--src/arch/i386/drivers/net/undinet.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/arch/i386/drivers/net/undinet.c b/src/arch/i386/drivers/net/undinet.c
index 4a0c9466..d7a632da 100644
--- a/src/arch/i386/drivers/net/undinet.c
+++ b/src/arch/i386/drivers/net/undinet.c
@@ -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,