OSDN Git Service

net: ethernet: nb8800: Handle all 4 RGMII modes identically
authorMarc Gonzalez <marc_gonzalez@sigmadesigns.com>
Tue, 25 Jul 2017 12:35:03 +0000 (14:35 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 11 Aug 2017 16:08:53 +0000 (09:08 -0700)
commit91c5aa7ea0737d374601687fec02ddd25aefd6e8
treea59e3a1f950ce9e3cb834b221578bf30f9240f3a
parentd1ed1f8ae4871b22ab472dba22d7df96511227ee
net: ethernet: nb8800: Handle all 4 RGMII modes identically

[ Upstream commit 4813497b537c6208c90d6cbecac5072d347de900 ]

Before commit bf8f6952a233 ("Add blurb about RGMII") it was unclear
whose responsibility it was to insert the required clock skew, and
in hindsight, some PHY drivers got it wrong. The solution forward
is to introduce a new property, explicitly requiring skew from the
node to which it is attached. In the interim, this driver will handle
all 4 RGMII modes identically (no skew).

Fixes: 52dfc8301248 ("net: ethernet: add driver for Aurora VLSI NB8800 Ethernet controller")
Signed-off-by: Marc Gonzalez <marc_gonzalez@sigmadesigns.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/net/ethernet/aurora/nb8800.c