Kernel: Fix E1000{,E} driver for older qemu versions
This patch adds clearing of *Interrupt Cause Registers*, which allows older qemu versions to send new interrupts. Apparently this is not needed on newer releases.
This commit is contained in:
parent
028c7a822f
commit
107b31a0b5
|
@ -308,6 +308,8 @@ namespace Kernel
|
||||||
descriptor.status = 0;
|
descriptor.status = 0;
|
||||||
write32(REG_RDT0, rx_current);
|
write32(REG_RDT0, rx_current);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
write32(REG_ICR, 0xFFFFFFFF);
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue