diff options
author | Jie Deng <Jie.Deng1@synopsys.com> | 2017-04-12 13:10:06 +0800 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2017-04-13 13:46:38 -0400 |
commit | d4d49bc145e830fdcfdcfba9ef4b7db5d0b1f8a7 (patch) | |
tree | fa3d2ca27451ad47a20d8e8d425e7ac23b570c5b /drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | |
parent | 7ed14d973f7c6742f4827fbbf6730cbe20888b8b (diff) | |
download | linux-d4d49bc145e830fdcfdcfba9ef4b7db5d0b1f8a7.tar.bz2 |
net: dwc-xlgmac: add the initial ethtool support
It is necessary to provide ethtool support for displaying and
modifying parameters of dwc-xlgmac.
Signed-off-by: Jie Deng <jiedeng@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/synopsys/dwc-xlgmac-common.c')
-rw-r--r-- | drivers/net/ethernet/synopsys/dwc-xlgmac-common.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c index 07def2beabfa..d655a4261e98 100644 --- a/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c +++ b/drivers/net/ethernet/synopsys/dwc-xlgmac-common.c @@ -175,6 +175,7 @@ static int xlgmac_init(struct xlgmac_pdata *pdata) /* Set device operations */ netdev->netdev_ops = xlgmac_get_netdev_ops(); + netdev->ethtool_ops = xlgmac_get_ethtool_ops(); /* Set device features */ if (pdata->hw_feat.tso) { |