aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/pci_link.c
diff options
context:
space:
mode:
authorLen Brown <len.brown@intel.com>2005-08-03 18:15:15 -0400
committerLen Brown <len.brown@intel.com>2005-08-03 18:15:15 -0400
commit8066eff0a1a0703ad901dbe5646a47dbfc089ef2 (patch)
tree9d46f66ae3f1002073c317e10218a78775ff7e2d /drivers/acpi/pci_link.c
parent9a351e30d72d409ec62c83f380e330e0baa584b4 (diff)
parent79cda7d0e1c8629996242c036d6fe0466038d8ba (diff)
/home/lenb/src/to-linus branch 'acpi-2.6.12'
Diffstat (limited to 'drivers/acpi/pci_link.c')
-rw-r--r--drivers/acpi/pci_link.c11
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)
692 return_VALUE(-1); 692 return_VALUE(-1);
693 } 693 }
694 694
695#ifdef FUTURE_USE
696 /*
697 * The Link reference count allows us to _DISable an unused link
698 * and suspend time, and set it again on resume.
699 * However, 2.6.12 still has irq_router.resume
700 * which blindly restores the link state.
701 * So we disable the reference count method
702 * to prevent duplicate acpi_pci_link_set()
703 * which would harm some systems
704 */
695 link->refcnt --; 705 link->refcnt --;
706#endif
696 ACPI_DEBUG_PRINT((ACPI_DB_INFO, 707 ACPI_DEBUG_PRINT((ACPI_DB_INFO,
697 "Link %s is dereferenced\n", acpi_device_bid(link->device))); 708 "Link %s is dereferenced\n", acpi_device_bid(link->device)));
698 709