mirror of
https://github.com/ipxe/ipxe
synced 2025-12-30 22:08:48 +03:00
[e1000] Strip the Ethernet CRC from received packets
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -419,7 +419,7 @@ static void e1000_configure_rx ( struct e1000_adapter *adapter )
|
|||||||
|
|
||||||
/* Enable Receives */
|
/* Enable Receives */
|
||||||
rctl |= E1000_RCTL_EN | E1000_RCTL_BAM | E1000_RCTL_SZ_2048 |
|
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_REG ( hw, E1000_RCTL, rctl );
|
||||||
E1000_WRITE_FLUSH ( hw );
|
E1000_WRITE_FLUSH ( hw );
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user