equal
deleted
inserted
replaced
4954 { |
4954 { |
4955 struct pci_dev *pdev = to_pci_dev(device); |
4955 struct pci_dev *pdev = to_pci_dev(device); |
4956 struct net_device *dev = pci_get_drvdata(pdev); |
4956 struct net_device *dev = pci_get_drvdata(pdev); |
4957 struct rtl8169_private *tp = netdev_priv(dev); |
4957 struct rtl8169_private *tp = netdev_priv(dev); |
4958 |
4958 |
|
4959 if (tp->ecdev) |
|
4960 return -EBUSY; |
|
4961 |
4959 rtl8169_init_phy(dev, tp); |
4962 rtl8169_init_phy(dev, tp); |
4960 |
4963 |
4961 if (netif_running(dev)) |
4964 if (netif_running(dev)) |
4962 __rtl8169_resume(dev); |
4965 __rtl8169_resume(dev); |
4963 |
4966 |