diff options
author | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-03 16:50:19 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@g5.osdl.org> | 2005-08-03 16:50:19 -0700 |
commit | d95a1b4818f2fe38a3cfc9a7d5817dc9a1a69329 (patch) | |
tree | 7f3e1e4ec9070d6db9ab0f8fb0d9cb94afed4791 /drivers/acpi/pci_link.c | |
parent | 194d0710e1a7fe92dcf860ddd31fded8c3103b7a (diff) | |
parent | 8066eff0a1a0703ad901dbe5646a47dbfc089ef2 (diff) |
Merge master.kernel.org:/pub/scm/linux/kernel/git/lenb/to-linus
Diffstat (limited to 'drivers/acpi/pci_link.c')
-rw-r--r-- | drivers/acpi/pci_link.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/drivers/acpi/pci_link.c b/drivers/acpi/pci_link.c index d9a9b86ecb28..65cea07abbc3 100644 --- a/drivers/acpi/pci_link.c +++ b/drivers/acpi/pci_link.c @@ -692,7 +692,18 @@ acpi_pci_link_free_irq(acpi_handle handle) return_VALUE(-1); } +#ifdef FUTURE_USE + /* + * The Link reference count allows us to _DISable an unused link + * and suspend time, and set it again on resume. + * However, 2.6.12 still has irq_router.resume + * which blindly restores the link state. + * So we disable the reference count method + * to prevent duplicate acpi_pci_link_set() + * which would harm some systems + */ link->refcnt --; +#endif ACPI_DEBUG_PRINT((ACPI_DB_INFO, "Link %s is dereferenced\n", acpi_device_bid(link->device))); |