]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[e1000e] Strip the Ethernet CRC from received packets
authorMichael Brown <mcb30@ipxe.org>
Tue, 6 Dec 2011 23:57:52 +0000 (23:57 +0000)
committerMichael Brown <mcb30@ipxe.org>
Thu, 8 Dec 2011 00:29:33 +0000 (00:29 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/e1000e/e1000e_main.c

index e5cb2490a87d07094906cb5960ce9bce6e9ba55d..352e3c45e3f67f2f9d3d85a1f4f71b365bc46b15 100644 (file)
@@ -791,7 +791,7 @@ static void e1000e_configure_rx ( struct e1000_adapter *adapter )
 
        /* Enable Receives */
        rctl |=  E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 |
-                E1000_RCTL_MPE;
+                E1000_RCTL_MPE | E1000_RCTL_SECRC;
        E1000_WRITE_REG ( hw, E1000_RCTL, rctl );
        e1e_flush();