In case of problems it facilitates the bug analysis if we know whether
DASH is active. Therefore emit a message in probe if this is the case.

Signed-off-by: Heiner Kallweit <hkallwe...@gmail.com>
---
 drivers/net/ethernet/realtek/r8169_main.c | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/drivers/net/ethernet/realtek/r8169_main.c 
b/drivers/net/ethernet/realtek/r8169_main.c
index dad84ecf5..7bb26fb07 100644
--- a/drivers/net/ethernet/realtek/r8169_main.c
+++ b/drivers/net/ethernet/realtek/r8169_main.c
@@ -5432,8 +5432,10 @@ static int rtl_init_one(struct pci_dev *pdev, const 
struct pci_device_id *ent)
                            jumbo_max, tp->mac_version <= RTL_GIGA_MAC_VER_06 ?
                            "ok" : "ko");
 
-       if (r8168_check_dash(tp))
+       if (r8168_check_dash(tp)) {
+               netdev_info(dev, "DASH enabled\n");
                rtl8168_driver_start(tp);
+       }
 
        if (pci_dev_run_wake(pdev))
                pm_runtime_put_sync(&pdev->dev);
-- 
2.27.0


Reply via email to