net: stmmac: Add the missing speeds that XGMAC supports
XGMAC supports following speeds: - 10G XGMII - 5G XGMII - 2.5G XGMII - 2.5G GMII - 1G GMII - 100M MII - 10M MII Add them to the stmmac driver. 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> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:

committed by
David S. Miller

parent
900a81cc11
commit
5b0d7d7da6
@@ -392,8 +392,12 @@ struct mac_link {
|
||||
u32 speed100;
|
||||
u32 speed1000;
|
||||
u32 speed2500;
|
||||
u32 speed10000;
|
||||
u32 duplex;
|
||||
struct {
|
||||
u32 speed2500;
|
||||
u32 speed5000;
|
||||
u32 speed10000;
|
||||
} xgmii;
|
||||
};
|
||||
|
||||
struct mii_regs {
|
||||
|
Reference in New Issue
Block a user