diff options
author | Shengzhou Liu <Shengzhou.Liu@freescale.com> | 2013-04-19 09:36:41 (GMT) |
---|---|---|
committer | Fleming Andrew-AFLEMING <AFLEMING@freescale.com> | 2013-04-19 22:40:56 (GMT) |
commit | e9c432b0581798ccbba473262dcdfa5b700a8ed8 (patch) | |
tree | d81f2ab316bfd8b9104813c4c75dda2aaf60d0e6 /drivers/net/ethernet/freescale | |
parent | 3308f15e4a74e33e8ccf7237b7842fdaf1b320ad (diff) | |
download | linux-fsl-qoriq-e9c432b0581798ccbba473262dcdfa5b700a8ed8.tar.xz |
powerpc/dpaa_eth: add missing ethtool_op_get_link
The get_link is requred by some applications(e.g. ixxat 1588 stack).
Signed-off-by: Shengzhou Liu <Shengzhou.Liu@freescale.com>
Change-Id: I59376bff897710dba6e34aa624f60b4f1b473f86
Reviewed-on: http://git.am.freescale.net:8181/1601
Reviewed-by: Radulescu Ruxandra Ioana-B05472 <ruxandra.radulescu@freescale.com>
Reviewed-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Tested-by: Fleming Andrew-AFLEMING <AFLEMING@freescale.com>
Diffstat (limited to 'drivers/net/ethernet/freescale')
-rw-r--r-- | drivers/net/ethernet/freescale/dpa/dpa-ethtool.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/net/ethernet/freescale/dpa/dpa-ethtool.c b/drivers/net/ethernet/freescale/dpa/dpa-ethtool.c index 2ba6966..c5f6225 100644 --- a/drivers/net/ethernet/freescale/dpa/dpa-ethtool.c +++ b/drivers/net/ethernet/freescale/dpa/dpa-ethtool.c @@ -223,5 +223,6 @@ const struct ethtool_ops dpa_ethtool_ops = { .set_pauseparam = dpa_set_pauseparam, .self_test = NULL, /* TODO invoke the cold-boot unit-test? */ .get_ethtool_stats = NULL, /* TODO other stats, currently in debugfs */ + .get_link = ethtool_op_get_link, }; |