diff -r aa0f6f939cb3 -r ca345abf0565 devices/r8169-2.6.28-ethercat.c --- a/devices/r8169-2.6.28-ethercat.c Tue Apr 10 19:09:51 2012 +0200 +++ b/devices/r8169-2.6.28-ethercat.c Tue Apr 10 19:10:56 2012 +0200 @@ -3858,7 +3858,7 @@ void __iomem *ioaddr = tp->mmio_addr; if (tp->ecdev) - return; + return -EBUSY; if (!netif_running(dev)) goto out_pci_suspend; @@ -3889,7 +3889,7 @@ struct rtl8169_private *tp = netdev_priv(dev); if (tp->ecdev) - return; + return -EBUSY; pci_set_power_state(pdev, PCI_D0); pci_restore_state(pdev);