mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
[Description]
Fix GMAC data corruption issue. If without this patch, kernel might receive invalid packets that are corrupted by GMAC. [Release-log] N/A Change-Id: I8a9f00402e4b8d9181a8c4c518665a16619cdc0a Reviewed-on: https://gerrit.mediatek.inc/c/openwrt/feeds/mtk_openwrt_feeds/+/6398721
This commit is contained in:
parent
f81f1d5ffc
commit
daba7b9a2d
@ -587,7 +587,7 @@
|
||||
/* Mac control registers */
|
||||
#define MTK_MAC_MCR(x) (0x10100 + (x * 0x100))
|
||||
#define MAC_MCR_MAX_RX_1536 BIT(24)
|
||||
#define MAC_MCR_IPG_CFG (BIT(18) | BIT(16))
|
||||
#define MAC_MCR_IPG_CFG (BIT(18) | BIT(16) | BIT(12))
|
||||
#define MAC_MCR_FORCE_MODE BIT(15)
|
||||
#define MAC_MCR_TX_EN BIT(14)
|
||||
#define MAC_MCR_RX_EN BIT(13)
|
||||
|
Loading…
x
Reference in New Issue
Block a user