From mboxrd@z Thu Jan 1 00:00:00 1970 From: Nelson Chang Subject: [PATCH net-next v2 3/3] net: ethernet: mediatek: add the dts property to set if the HW supports LRO Date: Wed, 14 Sep 2016 13:58:59 +0800 Message-ID: <1473832739-4983-4-git-send-email-nelson.chang@mediatek.com> References: <1473832739-4983-1-git-send-email-nelson.chang@mediatek.com> Mime-Version: 1.0 Content-Type: text/plain Return-path: In-Reply-To: <1473832739-4983-1-git-send-email-nelson.chang@mediatek.com> Sender: netdev-owner@vger.kernel.org To: john@phrozen.org, davem@davemloft.net, f.fainelli@gmail.com Cc: nbd@openwrt.org, netdev@vger.kernel.org, linux-mediatek@lists.infradead.org, nelsonch.tw@gmail.com, Nelson Chang List-Id: linux-mediatek@lists.infradead.org Add the dts property for the capability if the hardware supports LRO. Signed-off-by: Nelson Chang --- Documentation/devicetree/bindings/net/mediatek-net.txt | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Documentation/devicetree/bindings/net/mediatek-net.txt b/Documentation/devicetree/bindings/net/mediatek-net.txt index 32eaaca..ea09a7f 100644 --- a/Documentation/devicetree/bindings/net/mediatek-net.txt +++ b/Documentation/devicetree/bindings/net/mediatek-net.txt @@ -20,6 +20,7 @@ Required properties: - mediatek,ethsys: phandle to the syscon node that handles the port setup - mediatek,pctl: phandle to the syscon node that handles the ports slew rate and driver current +- mediatek,hwlro: the capability if the hardware supports LRO functions Optional properties: - interrupt-parent: Should be the phandle for the interrupt controller @@ -51,6 +52,7 @@ eth: ethernet@1b100000 { reset-names = "eth"; mediatek,ethsys = <ðsys>; mediatek,pctl = <&syscfg_pctl_a>; + mediatek,hwlro; #address-cells = <1>; #size-cells = <0>; -- 1.9.1