mirror of https://github.com/ipxe/ipxe.git
natsemi
parent
5e91a38269
commit
2383a070d8
|
@ -503,7 +503,7 @@ static void nat_poll ( struct net_device *netdev, unsigned int rx_quota ) {
|
||||||
struct io_buffer *rx_iob;
|
struct io_buffer *rx_iob;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
outl(1,nat->ioaddr +IntrEnable);
|
//outl(1,nat->ioaddr +IntrEnable);
|
||||||
/* read the interrupt register */
|
/* read the interrupt register */
|
||||||
intr_status=inl(nat->ioaddr+IntrStatus);
|
intr_status=inl(nat->ioaddr+IntrStatus);
|
||||||
if(!intr_status)
|
if(!intr_status)
|
||||||
|
@ -579,7 +579,7 @@ end:
|
||||||
|
|
||||||
/* re-enable the potentially idle receive state machine */
|
/* re-enable the potentially idle receive state machine */
|
||||||
outl(RxOn, nat->ioaddr + ChipCmd);
|
outl(RxOn, nat->ioaddr + ChipCmd);
|
||||||
outl(1,nat->ioaddr +IntrEnable);
|
// outl(1,nat->ioaddr +IntrEnable);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue