diff options
author | Jose Abreu <Jose.Abreu@synopsys.com> | 2019-06-11 17:18:47 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2019-06-13 14:02:09 -0700 |
commit | 74371272f97fd1a7b668f1da34aea4ae737c2fa1 (patch) | |
tree | 18a34a60bdb2b86f41b75cc8c7985c061d6312d1 /drivers/net/ethernet/stmicro/stmmac/stmmac.h | |
parent | eeef2f6b9f6e090c52fb3882c4d3e44d7c527570 (diff) |
net: stmmac: Convert to phylink and remove phylib logic
Convert everything to phylink.
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 | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/stmmac.h b/drivers/net/ethernet/stmicro/stmmac/stmmac.h index b8386778f6c6..15523a4546f1 100644 --- a/drivers/net/ethernet/stmicro/stmmac/stmmac.h +++ b/drivers/net/ethernet/stmicro/stmmac/stmmac.h @@ -24,7 +24,6 @@ #include <linux/clk.h> #include <linux/stmmac.h> -#include <linux/phy.h> #include <linux/phylink.h> #include <linux/pci.h> #include "common.h" @@ -148,9 +147,7 @@ struct stmmac_priv { /* Generic channel for NAPI */ struct stmmac_channel channel[STMMAC_CH_MAX]; - bool oldlink; int speed; - int oldduplex; unsigned int flow_ctrl; unsigned int pause; struct mii_bus *mii; |