X-Git-Url: https://git.archive.openwrt.org/?a=blobdiff_plain;f=target%2Flinux%2Framips%2Ffiles%2Fdrivers%2Fnet%2Fethernet%2Fralink%2Fgsw_mt7620a.c;fp=target%2Flinux%2Framips%2Ffiles%2Fdrivers%2Fnet%2Fethernet%2Fralink%2Fgsw_mt7620a.c;h=325e2433f10b62c0e1ed7617bd760287adb04a6d;hb=118b7111459bbe81a9947e82a03cbd47fe1396a9;hp=803970487aff426763ac0a3ca41faeac512faed7;hpb=966bec6badc13cd30bc40298f0e27c68cbd1adb0;p=openwrt.git diff --git a/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c b/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c index 803970487a..325e2433f1 100644 --- a/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c +++ b/target/linux/ramips/files/drivers/net/ethernet/ralink/gsw_mt7620a.c @@ -602,12 +602,12 @@ static void gsw_hw_init_mt7621(struct mt7620_gsw *gsw, struct device_node *np) udelay(10); if ((rt_sysc_r32(SYSC_REG_CHIP_REV_ID) & 0xFFFF) == 0x0101) { - /* (GE1, Force 1000M/FD, FC ON) */ - gsw_w32(gsw, 0x2005e30b, 0x100); + /* (GE1, Force 1000M/FD, FC ON, MAX_RX_LENGTH 1536) */ + gsw_w32(gsw, 0x2105e30b, 0x100); mt7530_mdio_w32(gsw, 0x3600, 0x5e30b); } else { - /* (GE1, Force 1000M/FD, FC ON) */ - gsw_w32(gsw, 0x2005e33b, 0x100); + /* (GE1, Force 1000M/FD, FC ON, MAX_RX_LENGTH 1536) */ + gsw_w32(gsw, 0x2105e33b, 0x100); mt7530_mdio_w32(gsw, 0x3600, 0x5e33b); }