mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-06-06 14:48:06 +00:00
net: ethernet: bgmac: use #defines for MAX size
The maximum frame size is really just the standard ethernet frame size and FCS. So use those existing defines to make the code a little more beautiful. Signed-off-by: Jon Mason <jon.mason@broadcom.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
452349c323
commit
02083c3aed
1 changed files with 1 additions and 1 deletions
|
@ -402,7 +402,7 @@
|
||||||
|
|
||||||
#define BGMAC_WEIGHT 64
|
#define BGMAC_WEIGHT 64
|
||||||
|
|
||||||
#define ETHER_MAX_LEN 1518
|
#define ETHER_MAX_LEN (ETH_FRAME_LEN + ETH_FCS_LEN)
|
||||||
|
|
||||||
/* Feature Flags */
|
/* Feature Flags */
|
||||||
#define BGMAC_FEAT_TX_MASK_SETUP BIT(0)
|
#define BGMAC_FEAT_TX_MASK_SETUP BIT(0)
|
||||||
|
|
Loading…
Add table
Reference in a new issue