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>
This commit is contained in:
parent
1260e772dd
commit
a38b7fbfea
@ -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 ?
|
jumbo_max, tp->mac_version <= RTL_GIGA_MAC_VER_06 ?
|
||||||
"ok" : "ko");
|
"ok" : "ko");
|
||||||
|
|
||||||
if (r8168_check_dash(tp))
|
if (r8168_check_dash(tp)) {
|
||||||
|
netdev_info(dev, "DASH enabled\n");
|
||||||
rtl8168_driver_start(tp);
|
rtl8168_driver_start(tp);
|
||||||
|
}
|
||||||
|
|
||||||
if (pci_dev_run_wake(pdev))
|
if (pci_dev_run_wake(pdev))
|
||||||
pm_runtime_put_sync(&pdev->dev);
|
pm_runtime_put_sync(&pdev->dev);
|
||||||
|
Loading…
Reference in New Issue
Block a user