diff options
author | Benjamin Herrenschmidt <benh@kernel.crashing.org> | 2017-04-12 05:27:03 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-12 16:17:01 +0200 |
commit | 6aff0bf641cf69e487d7b46fc8be773d161f814d (patch) | |
tree | 511cbe137d6afbf974821805c4725156d0b69d41 /arch/arm/boot/dts/aspeed-g4.dtsi | |
parent | ftgmac100: Use device "compatible" property, not machine. (diff) | |
download | linux-6aff0bf641cf69e487d7b46fc8be773d161f814d.tar.xz linux-6aff0bf641cf69e487d7b46fc8be773d161f814d.zip |
ftgmac100: Disable HW checksum generation on AST2400, enable on others
We found out that HW checksum generation only works from AST2500
onward. This disables it on AST2400 and removes the "no-hw-checksum"
properties in the device-trees. The problem we had wasn't related
to NC-SI.
Also rework the logic testing for that property so it can be used
to disable HW checksum generation and checking regardless of whether
NC-SI is used or not in case other variants out there need this.
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/arm/boot/dts/aspeed-g4.dtsi')
-rw-r--r-- | arch/arm/boot/dts/aspeed-g4.dtsi | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/arch/arm/boot/dts/aspeed-g4.dtsi b/arch/arm/boot/dts/aspeed-g4.dtsi index 6068e79fb651..c79c937b0a8a 100644 --- a/arch/arm/boot/dts/aspeed-g4.dtsi +++ b/arch/arm/boot/dts/aspeed-g4.dtsi @@ -45,7 +45,6 @@ compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e660000 0x180>; interrupts = <2>; - no-hw-checksum; status = "disabled"; }; @@ -53,7 +52,6 @@ compatible = "aspeed,ast2400-mac", "faraday,ftgmac100"; reg = <0x1e680000 0x180>; interrupts = <3>; - no-hw-checksum; status = "disabled"; }; |