瀏覽代碼

natsemi

tags/v0.9.3
Udayan Kumar 18 年之前
父節點
當前提交
2383a070d8
共有 1 個檔案被更改,包括 2 行新增2 行删除
  1. 2
    2
      src/drivers/net/natsemi.c

+ 2
- 2
src/drivers/net/natsemi.c 查看文件

503
 	struct io_buffer *rx_iob;
503
 	struct io_buffer *rx_iob;
504
 	int i;
504
 	int i;
505
 	
505
 	
506
-	outl(1,nat->ioaddr +IntrEnable);
506
+	//outl(1,nat->ioaddr +IntrEnable);
507
 	/* read the interrupt register */
507
 	/* read the interrupt register */
508
 	intr_status=inl(nat->ioaddr+IntrStatus);
508
 	intr_status=inl(nat->ioaddr+IntrStatus);
509
 	if(!intr_status)
509
 	if(!intr_status)
579
 
579
 
580
 	 /* re-enable the potentially idle receive state machine */
580
 	 /* re-enable the potentially idle receive state machine */
581
 	outl(RxOn, nat->ioaddr + ChipCmd);	
581
 	outl(RxOn, nat->ioaddr + ChipCmd);	
582
-	outl(1,nat->ioaddr +IntrEnable);
582
+//	outl(1,nat->ioaddr +IntrEnable);
583
 }				
583
 }				
584
 
584
 
585
 
585
 

Loading…
取消
儲存