lkml.org 
[lkml]   [2012]   [Dec]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    SubjectRe: [PATCH rev.2 1/6] ACPI: Separate adding ACPI device objects from probing ACPI drivers
    From
    On Tue, Dec 18, 2012 at 2:05 PM, Rafael J. Wysocki <rjw@sisk.pl> 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


    \
     
     \ /
      Last update: 2012-12-19 03:21    [W:3.281 / U:0.008 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site