Revert "net: dsa: b53: fix jumbo frames on 10/100 ports"

This reverts commit 156fe33e3b.
This commit is contained in:
Ksawlii 2024-11-24 00:22:56 +01:00
parent 79561b6d9c
commit b7d1350f06

View file

@ -2188,7 +2188,7 @@ static int b53_change_mtu(struct dsa_switch *ds, int port, int mtu)
return 0;
enable_jumbo = (mtu > ETH_DATA_LEN);
allow_10_100 = !is63xx(dev);
allow_10_100 = (dev->chip_id == BCM583XX_DEVICE_ID);
return b53_set_jumbo(dev, enable_jumbo, allow_10_100);
}