]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[e1000] Strip the Ethernet CRC from received packets
authorMichael Brown <mcb30@ipxe.org>
Wed, 15 Sep 2010 04:06:51 +0000 (05:06 +0100)
committerMichael Brown <mcb30@ipxe.org>
Wed, 15 Sep 2010 04:14:57 +0000 (05:14 +0100)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/drivers/net/e1000/e1000_main.c

index dec0858c18a169b42b229a374edb3b274c5f4cb6..6361570101c2d0993390db7109e02d7c34607472 100644 (file)
@@ -419,7 +419,7 @@ static void e1000_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 );
        E1000_WRITE_FLUSH ( hw );