Skip to content

Commit 85041e1

Browse files
jannauDinh Nguyen
authored andcommitted
nios2: dts: Fix tse_mac "max-frame-size" property
The given value of 1518 seems to refer to the layer 2 ethernet frame size without 802.1Q tag. Actual use of the "max-frame-size" including in the consumer of the "altr,tse-1.0" compatible is the MTU. Fixes: 95acd4c ("nios2: Device tree support") Fixes: 61c610e ("nios2: Add Max10 device tree") Cc: <[email protected]> Signed-off-by: Janne Grunau <[email protected]> Signed-off-by: Dinh Nguyen <[email protected]>
1 parent ac9a786 commit 85041e1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

arch/nios2/boot/dts/10m50_devboard.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
rx-fifo-depth = <8192>;
9898
tx-fifo-depth = <8192>;
9999
address-bits = <48>;
100-
max-frame-size = <1518>;
100+
max-frame-size = <1500>;
101101
local-mac-address = [00 00 00 00 00 00];
102102
altr,has-supplementary-unicast;
103103
altr,enable-sup-addr = <1>;

arch/nios2/boot/dts/3c120_devboard.dts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,7 @@
106106
interrupt-names = "rx_irq", "tx_irq";
107107
rx-fifo-depth = <8192>;
108108
tx-fifo-depth = <8192>;
109-
max-frame-size = <1518>;
109+
max-frame-size = <1500>;
110110
local-mac-address = [ 00 00 00 00 00 00 ];
111111
phy-mode = "rgmii-id";
112112
phy-handle = <&phy0>;

0 commit comments

Comments
 (0)