diff options
author | Jose Abreu | 2018-08-08 10:04:30 +0200 |
---|---|---|
committer | David S. Miller | 2018-08-09 20:16:28 +0200 |
commit | 2142754f8b9c619e22e1c9d1973cacc4a214695c (patch) | |
tree | f85c4ee8ee9701795cc8321b3005fbcea89f94b0 /drivers/net/ethernet/stmicro/stmmac/hwif.c | |
parent | net: stmmac: Add XGMAC 2.10 HWIF entry (diff) | |
download | kernel-qcow2-linux-2142754f8b9c619e22e1c9d1973cacc4a214695c.tar.gz kernel-qcow2-linux-2142754f8b9c619e22e1c9d1973cacc4a214695c.tar.xz kernel-qcow2-linux-2142754f8b9c619e22e1c9d1973cacc4a214695c.zip |
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>
Diffstat (limited to 'drivers/net/ethernet/stmicro/stmmac/hwif.c')
-rw-r--r-- | drivers/net/ethernet/stmicro/stmmac/hwif.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/net/ethernet/stmicro/stmmac/hwif.c b/drivers/net/ethernet/stmicro/stmmac/hwif.c index 24f5ff175aa4..4fa46f064720 100644 --- a/drivers/net/ethernet/stmicro/stmmac/hwif.c +++ b/drivers/net/ethernet/stmicro/stmmac/hwif.c @@ -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, }, }; |