mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
Revert "[Description]"
This reverts commit cb8d930879726d51161e612d48b5c3dba7aa494a.
This commit is contained in:
parent
f137a9ece7
commit
02e53453a3
@ -2941,11 +2941,8 @@ static int mtk_hw_init(struct mtk_eth *eth, u32 type)
|
||||
/* PSE Free Queue Flow Control */
|
||||
mtk_w32(eth, 0x01fa01f4, PSE_FQFC_CFG2);
|
||||
|
||||
/* PSE should not drop port8 and port9 packets from WDMA Tx */
|
||||
mtk_w32(eth, 0x00000300, PSE_NO_DROP_CFG);
|
||||
|
||||
/* PSE should drop p8 and p9 packets when WDMA Rx ring full*/
|
||||
mtk_w32(eth, 0x00000300, PSE_PPE0_DROP);
|
||||
/* PSE should not drop port8 and port9 packets */
|
||||
mtk_w32(eth, 0x00000300, PSE_DROP_CFG);
|
||||
|
||||
/* PSE config input queue threshold */
|
||||
mtk_w32(eth, 0x001a000e, PSE_IQ_REV(1));
|
||||
|
@ -124,8 +124,7 @@
|
||||
/* PSE Free Queue Flow Control */
|
||||
#define PSE_FQFC_CFG1 0x100
|
||||
#define PSE_FQFC_CFG2 0x104
|
||||
#define PSE_NO_DROP_CFG 0x108
|
||||
#define PSE_PPE0_DROP 0x110
|
||||
#define PSE_DROP_CFG 0x108
|
||||
|
||||
/* PSE Input Queue Reservation Register*/
|
||||
#define PSE_IQ_REV(x) (0x140 + ((x - 1) * 0x4))
|
||||
|
Loading…
x
Reference in New Issue
Block a user