|
@@ -692,7 +692,18 @@ acpi_pci_link_free_irq(acpi_handle handle)
|
|
return_VALUE(-1);
|
|
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 --;
|
|
link->refcnt --;
|
|
|
|
+#endif
|
|
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
|
|
ACPI_DEBUG_PRINT((ACPI_DB_INFO,
|
|
"Link %s is dereferenced\n", acpi_device_bid(link->device)));
|
|
"Link %s is dereferenced\n", acpi_device_bid(link->device)));
|
|
|
|
|