On Tue, Dec 18, 2012 at 2:05 PM, Rafael J. Wysocki <rjw@xxxxxxx> wrote: >> >> i think we should put jiang four patches before Rafael's patches. >> >> http://git.kernel.org/?p=linux/kernel/git/yinghai/linux-yinghai.git;a=shortlog;h=refs/heads/for-pci-jiang-hotplug > > Actually, I have something more radical than that in mind. :-) > > Namely, we don't need to call the wakeup-related stuff from acpi_pci_bind() and > acpi_pci_unbind(). It's only there, because I did't find a better place for it > when I added it. > > If we can set the ACPI handles of PCI devices in pci_scan_device(), which isn't > too difficult to do (I actually have a patch for that and it's not too invasive), > we can easily move the wakeup enabling stuff to pci_pm_init() and wakeup > disabling somewhere near pci_release_capabilities(). good, let's see how acpi handles could be be passed to pci devices. Yinghai -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html