aboutsummaryrefslogtreecommitdiff
path: root/include/linux/stmmac.h
diff options
context:
space:
mode:
authorGravatar Jose Abreu <Jose.Abreu@synopsys.com> 2020-03-09 09:36:27 +0100
committerGravatar David S. Miller <davem@davemloft.net> 2020-03-09 20:13:16 -0700
commitf213bbe8a9d6ba1d0adf424787c02f361ea78c38 (patch)
tree4db8aadb20e33fa81a0417672d56d7bc458b57f1 /include/linux/stmmac.h
parentnet: phy: Add Synopsys DesignWare XPCS MDIO module (diff)
downloadlinux-f213bbe8a9d6ba1d0adf424787c02f361ea78c38.tar.gz
linux-f213bbe8a9d6ba1d0adf424787c02f361ea78c38.tar.bz2
linux-f213bbe8a9d6ba1d0adf424787c02f361ea78c38.zip
net: stmmac: Integrate it with DesignWare XPCS
Adds all the necessary logic so that stmmac can be used with Synopsys DesignWare XPCS. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux/stmmac.h')
-rw-r--r--include/linux/stmmac.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/linux/stmmac.h b/include/linux/stmmac.h
index 19190c609282..fbafb353e9be 100644
--- a/include/linux/stmmac.h
+++ b/include/linux/stmmac.h
@@ -80,6 +80,7 @@
struct stmmac_mdio_bus_data {
unsigned int phy_mask;
+ unsigned int has_xpcs;
int *irqs;
int probed_phy_irq;
bool needs_reset;