Commit 85041e12 authored by Janne Grunau's avatar Janne Grunau Committed by Dinh Nguyen

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: 95acd4c7 ("nios2: Device tree support")
Fixes: 61c610ec ("nios2: Add Max10 device tree")
Cc: <stable@vger.kernel.org>
Signed-off-by: default avatarJanne Grunau <j@jannau.net>
Signed-off-by: default avatarDinh Nguyen <dinguyen@kernel.org>
parent ac9a7868
...@@ -97,7 +97,7 @@ rgmii_0_eth_tse_0: ethernet@400 { ...@@ -97,7 +97,7 @@ rgmii_0_eth_tse_0: ethernet@400 {
rx-fifo-depth = <8192>; rx-fifo-depth = <8192>;
tx-fifo-depth = <8192>; tx-fifo-depth = <8192>;
address-bits = <48>; address-bits = <48>;
max-frame-size = <1518>; max-frame-size = <1500>;
local-mac-address = [00 00 00 00 00 00]; local-mac-address = [00 00 00 00 00 00];
altr,has-supplementary-unicast; altr,has-supplementary-unicast;
altr,enable-sup-addr = <1>; altr,enable-sup-addr = <1>;
......
...@@ -106,7 +106,7 @@ tse_mac: ethernet@4000 { ...@@ -106,7 +106,7 @@ tse_mac: ethernet@4000 {
interrupt-names = "rx_irq", "tx_irq"; interrupt-names = "rx_irq", "tx_irq";
rx-fifo-depth = <8192>; rx-fifo-depth = <8192>;
tx-fifo-depth = <8192>; tx-fifo-depth = <8192>;
max-frame-size = <1518>; max-frame-size = <1500>;
local-mac-address = [ 00 00 00 00 00 00 ]; local-mac-address = [ 00 00 00 00 00 00 ];
phy-mode = "rgmii-id"; phy-mode = "rgmii-id";
phy-handle = <&phy0>; phy-handle = <&phy0>;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment