net: stmmac: Add MAC related callbacks for XGMAC2
Add the MAC related callbacks for the new IP block XGMAC2. Signed-off-by: Jose Abreu <joabreu@synopsys.com> Cc: David S. Miller <davem@davemloft.net> Cc: Joao Pinto <jpinto@synopsys.com> 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
48ae5554a0
commit
2142754f8b
@@ -198,11 +198,11 @@ static const struct stmmac_hwif_entry {
|
||||
},
|
||||
.desc = NULL,
|
||||
.dma = NULL,
|
||||
.mac = NULL,
|
||||
.mac = &dwxgmac210_ops,
|
||||
.hwtimestamp = NULL,
|
||||
.mode = NULL,
|
||||
.tc = NULL,
|
||||
.setup = NULL,
|
||||
.setup = dwxgmac2_setup,
|
||||
.quirks = NULL,
|
||||
},
|
||||
};
|
||||
|
Reference in New Issue
Block a user