1
0
mirror of https://github.com/corundum/corundum.git synced 2025-01-16 08:12:53 +08:00

modules/mqnic: Export link status via ethtool

Makes ethtool show the usual "Link detected" line.

Signed-off-by: Joachim Foerster <joachim.foerster@missinglinkelectronics.com>
This commit is contained in:
Joachim Foerster 2022-05-13 19:06:58 +02:00 committed by Alex Forencich
parent 2697ec93e9
commit db1bb30745

View File

@ -342,6 +342,7 @@ static int mqnic_get_module_eeprom_by_page(struct net_device *ndev,
const struct ethtool_ops mqnic_ethtool_ops = {
.get_drvinfo = mqnic_get_drvinfo,
.get_link = ethtool_op_get_link,
.get_ts_info = mqnic_get_ts_info,
.get_module_info = mqnic_get_module_info,
.get_module_eeprom = mqnic_get_module_eeprom,