mirror of
https://github.com/hanwckf/immortalwrt-mt798x.git
synced 2025-01-07 01:53:34 +08:00
Mediatek:add support for disable second ppe fwd
This commit is contained in:
parent
c5668fe082
commit
9a719b3eb7
@ -151,7 +151,8 @@ void set_gmac_ppe_fwd(int id, int enable)
|
||||
|
||||
/*disabled */
|
||||
val = readl(reg);
|
||||
if ((val & GDM_ALL_FRC_MASK) == BITS_GDM_ALL_FRC_P_PPE)
|
||||
if (((val & GDM_ALL_FRC_MASK) == BITS_GDM_ALL_FRC_P_PPE ||
|
||||
(val & GDM_ALL_FRC_MASK) == BITS_GDM_ALL_FRC_P_PPE1))
|
||||
cr_set_field(reg, GDM_ALL_FRC_MASK,
|
||||
BITS_GDM_ALL_FRC_P_CPU_PDMA);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user