aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/ethernet/stmicro/stmmac/common.h
diff options
context:
space:
mode:
authorJose Abreu <Jose.Abreu@synopsys.com>2020-03-17 10:18:51 +0100
committerDavid S. Miller <davem@davemloft.net>2020-03-17 21:37:25 -0700
commit8a880936e9025eafc90178fb3140783b3e98d111 (patch)
tree9b850a4b461faf03b43062e63e0fc14504a55d05 /drivers/net/ethernet/stmicro/stmmac/common.h
parentnet: phy: xpcs: Add XLGMII support (diff)
downloadlinux-dev-8a880936e9025eafc90178fb3140783b3e98d111.tar.xz
linux-dev-8a880936e9025eafc90178fb3140783b3e98d111.zip
net: stmmac: Add XLGMII support
Add XLGMII support for stmmac including the list of speeds and defines for them. Signed-off-by: Jose Abreu <Jose.Abreu@synopsys.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/common.h')
-rw-r--r--drivers/net/ethernet/stmicro/stmmac/common.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/common.h b/drivers/net/ethernet/stmicro/stmmac/common.h
index 9bdbf589d93f..7fd073144bac 100644
--- a/drivers/net/ethernet/stmicro/stmmac/common.h
+++ b/drivers/net/ethernet/stmicro/stmmac/common.h
@@ -426,6 +426,12 @@ struct mac_link {
u32 speed5000;
u32 speed10000;
} xgmii;
+ struct {
+ u32 speed25000;
+ u32 speed40000;
+ u32 speed50000;
+ u32 speed100000;
+ } xlgmii;
};
struct mii_regs {