浏览代码

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

Signed-off-by: Michael Brown <mcb30@ipxe.org>
tags/v1.20.1
Michael Brown 10 年前
父节点
当前提交
71ed061776
共有 1 个文件被更改,包括 4 次插入4 次删除
  1. 4
    4
      src/arch/i386/drivers/net/undinet.c

+ 4
- 4
src/arch/i386/drivers/net/undinet.c 查看文件

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

正在加载...
取消
保存