diff options
author | Tom Rini <trini@konsulko.com> | 2015-03-26 22:13:11 -0400 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2015-03-26 22:13:11 -0400 |
commit | 10af87817a3d924bfbfce0cc323f9785cccdb131 (patch) | |
tree | 2ca16e5060d3e6b968cfed645d0713bf5ab7734a /drivers/net/e1000.h | |
parent | f643d9294f45487f22e8f33d6572530f17eff4e9 (diff) | |
parent | 6f1eba49a558421e3fcb06ab0addc12b9a3804c6 (diff) | |
download | u-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.zip u-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.tar.gz u-boot-imx-10af87817a3d924bfbfce0cc323f9785cccdb131.tar.bz2 |
Merge branch 'master' of git://git.denx.de/u-boot-x86
Diffstat (limited to 'drivers/net/e1000.h')
-rw-r--r-- | drivers/net/e1000.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/drivers/net/e1000.h b/drivers/net/e1000.h index 6d110eb..f3b77b1 100644 --- a/drivers/net/e1000.h +++ b/drivers/net/e1000.h @@ -430,12 +430,11 @@ struct e1000_phy_stats { #define ENET_HEADER_SIZE 14 #define MAXIMUM_ETHERNET_FRAME_SIZE 1518 /* With FCS */ #define MINIMUM_ETHERNET_FRAME_SIZE 64 /* With FCS */ -#define ETHERNET_FCS_SIZE 4 #define MAXIMUM_ETHERNET_PACKET_SIZE \ - (MAXIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) + (MAXIMUM_ETHERNET_FRAME_SIZE - ETH_FCS_LEN) #define MINIMUM_ETHERNET_PACKET_SIZE \ - (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE) -#define CRC_LENGTH ETHERNET_FCS_SIZE + (MINIMUM_ETHERNET_FRAME_SIZE - ETH_FCS_LEN) +#define CRC_LENGTH ETH_FCS_LEN #define MAX_JUMBO_FRAME_SIZE 0x3F00 /* 802.1q VLAN Packet Sizes */ |