summaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/cadence/macb.h
diff options
context:
space:
mode:
authorMichael Grzeschik <m.grzeschik@pengutronix.de>2017-06-23 16:54:10 +0200
committerDavid S. Miller <davem@davemloft.net>2017-06-25 21:21:43 +0200
commitdacdbb4dfc1a1a1378df8ebc914d4fe82259ed46 (patch)
tree601258bc209ef5000cfe7170a7603f61b8e3033d /drivers/net/ethernet/cadence/macb.h
parentMerge tag 'wireless-drivers-next-for-davem-2017-06-25' of git://git.kernel.or... (diff)
downloadlinux-dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46.tar.xz
linux-dacdbb4dfc1a1a1378df8ebc914d4fe82259ed46.zip
net: macb: add fixed-link node support
In case the MACB is directly connected to a non-mdio PHY/device, it should be possible to provide a fixed link configuration in the DT. Signed-off-by: Michael Grzeschik <m.grzeschik@pengutronix.de> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to '')
-rw-r--r--drivers/net/ethernet/cadence/macb.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/cadence/macb.h b/drivers/net/ethernet/cadence/macb.h
index ec037b0fa2a4..2510661102ba 100644
--- a/drivers/net/ethernet/cadence/macb.h
+++ b/drivers/net/ethernet/cadence/macb.h
@@ -930,6 +930,7 @@ struct macb {
struct macb_or_gem_ops macbgem_ops;
struct mii_bus *mii_bus;
+ struct device_node *phy_node;
int link;
int speed;
int duplex;