diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-06-11 17:18:46 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-13 14:02:09 -0700 |
commit | eeef2f6b9f6e090c52fb3882c4d3e44d7c527570 (patch) | |
tree | 5489848015089984e7586a28f20aeb697b0c9f2b /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | 9ad372fc5aaf1296761a365f9925fa5ae962c1a5 (diff) | |
download | kernel_replicant_linux-eeef2f6b9f6e090c52fb3882c4d3e44d7c527570.tar.gz kernel_replicant_linux-eeef2f6b9f6e090c52fb3882c4d3e44d7c527570.tar.bz2 kernel_replicant_linux-eeef2f6b9f6e090c52fb3882c4d3e44d7c527570.zip |
net: stmmac: Start adding phylink support
Start adding the phylink callbacks.
Signed-off-by: Jose Abreu <joabreu@synopsys.com>
Cc: Joao Pinto <jpinto@synopsys.com>
Cc: David S. Miller <davem@davemloft.net>
Cc: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Cc: Alexandre Torgue <alexandre.torgue@st.com>
Cc: Russell King <linux@armlinux.org.uk>
Cc: Andrew Lunn <andrew@lunn.ch>
Cc: Florian Fainelli <f.fainelli@gmail.com>
Cc: Heiner Kallweit <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/stmmac.h')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/stmmac.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index a16ada8b8507..b8386778f6c6 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -25,6 +25,7 @@ #include <linux/clk.h> #include <linux/stmmac.h> #include <linux/phy.h> +#include <linux/phylink.h> #include <linux/pci.h> #include "common.h" #include <linux/ptp_clock_kernel.h> @@ -155,6 +156,9 @@ struct stmmac_priv { struct mii_bus *mii; int mii_irq[PHY_MAX_ADDR]; + struct phylink_config phylink_config; + struct phylink *phylink; + struct stmmac_extra_stats xstats ____cacheline_aligned_in_smp; struct stmmac_safety_stats sstats; struct plat_stmmacenet_data *plat; |