Modules/E1000 - "handle" RXDMT0 by just logging
authorJohn Hodge <[email protected]>
Mon, 18 Nov 2013 06:39:44 +0000 (14:39 +0800)
committerJohn Hodge <[email protected]>
Mon, 18 Nov 2013 06:39:44 +0000 (14:39 +0800)
KernelLand/Modules/Network/E1000/e1000.c

index 01a5a6a..cdf16f0 100644 (file)
@@ -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);
 }

UCC git Repository :: git.ucc.asn.au