From: John Hodge Date: Mon, 18 Nov 2013 06:39:44 +0000 (+0800) Subject: Modules/E1000 - "handle" RXDMT0 by just logging X-Git-Tag: rel0.15~90 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=88c9a53b6b8f1e04f690cc787126c1ba2dcdd9f1;p=tpg%2Facess2.git Modules/E1000 - "handle" RXDMT0 by just logging --- diff --git a/KernelLand/Modules/Network/E1000/e1000.c b/KernelLand/Modules/Network/E1000/e1000.c index 01a5a6a2..cdf16f06 100644 --- a/KernelLand/Modules/Network/E1000/e1000.c +++ b/KernelLand/Modules/Network/E1000/e1000.c @@ -354,8 +354,15 @@ void E1000_IRQHandler(int Num, void *Ptr) { } + + // Receive Descriptor Minimum Threshold Reached + // - We're reading too slow + if( icr & ICR_RXDMT0 ) + { + LOG("RX descs running out"); + } - icr &= ~(ICR_RXT0|ICR_LSC|ICR_TXQE|ICR_TXDW|ICR_TXD_LOW); + icr &= ~(ICR_RXT0|ICR_LSC|ICR_TXQE|ICR_TXDW|ICR_TXD_LOW|ICR_RXDMT0); if( icr ) Log_Warning("E1000", "Unhandled ICR bits 0x%x", icr); }