changeset 1821 | 40321a37d085 |
parent 1819 | 44f6ca6974fd |
child 2582 | 87e502828b3f |
--- a/devices/e100-2.6.27-ethercat.c Tue Feb 23 13:17:59 2010 +0100 +++ b/devices/e100-2.6.27-ethercat.c Tue Feb 23 13:18:31 2010 +0100 @@ -2888,8 +2888,10 @@ device_set_wakeup_enable(&pdev->dev, true); } +#ifdef CONFIG_PCI // avoid compiler error on kernels not supporting PCI /* ack any pending wake events, disable PME */ pci_pme_active(pdev, false); +#endif // offer device to EtherCAT master module nic->ecdev = ecdev_offer(netdev, e100_ec_poll, THIS_MODULE);