diff options
author | Heiner Kallweit <hkallweit1@gmail.com> | 2020-06-17 22:51:10 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-06-18 20:38:36 -0700 |
commit | a38b7fbfeaebe9a11489db3fbcfc29108c62c0df (patch) | |
tree | 5deb569aad31db48b82c24dc3d2b176b68f536de /drivers/net/ethernet/realtek | |
parent | 1260e772dd184b29266b552d90cbf80f6ee4b066 (diff) | |
download | linux-a38b7fbfeaebe9a11489db3fbcfc29108c62c0df.tar.bz2 |
r8169: add info for DASH being enabled
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 <hkallweit1@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/realtek')
-rw-r--r-- | drivers/net/ethernet/realtek/r8169_main.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/net/ethernet/realtek/r8169_main.c b/drivers/net/ethernet/realtek/r8169_main.c index dad84ecf5a77..7bb26fb07f5b 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); |