works por deps fixed...
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/firegl_public.c fglrx/lib/modules/fglrx/build_mod/firegl_public.c
|
||||
--- fglrx.orig/lib/modules/fglrx/build_mod/firegl_public.c 2014-09-09 17:10:17.000000000 +0300
|
||||
+++ fglrx/lib/modules/fglrx/build_mod/firegl_public.c 2014-09-23 23:18:51.342432159 +0300
|
||||
@@ -1093,6 +1093,9 @@ static int fglrx_pci_suspend(struct pci_
|
||||
// directly here to allow suspend/resume without X server start.
|
||||
firegl_pci_save_state((KCL_PCI_DevHandle)pdev, privdev);
|
||||
pci_disable_device(pdev);
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
|
||||
+ pci_ignore_hotplug(pdev);
|
||||
+#endif
|
||||
PMSG_EVENT(pdev->dev.power.power_state) = state;
|
||||
}
|
||||
else
|
||||
diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/kcl_acpi.c fglrx/lib/modules/fglrx/build_mod/kcl_acpi.c
|
||||
--- fglrx.orig/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-09-09 17:10:17.000000000 +0300
|
||||
+++ fglrx/lib/modules/fglrx/build_mod/kcl_acpi.c 2014-09-23 23:45:27.016475868 +0300
|
||||
@@ -840,10 +840,12 @@ static acpi_status KCL_ACPI_Slot_No_Hotp
|
||||
if(tdev != NULL)
|
||||
{
|
||||
device = (acpi_device_adr(tdev) >> 16) & 0xffff;
|
||||
+#if LINUX_VERSION_CODE < KERNEL_VERSION(3, 17, 0)
|
||||
if(PCI_SLOT(pdev->devfn) == device)
|
||||
{
|
||||
tdev->flags.no_hotplug = true;
|
||||
}
|
||||
+#endif
|
||||
}
|
||||
#endif
|
||||
return 0;
|
||||
diff -Nurp fglrx.orig/lib/modules/fglrx/build_mod/kcl_pci.c fglrx/lib/modules/fglrx/build_mod/kcl_pci.c
|
||||
--- fglrx.orig/lib/modules/fglrx/build_mod/kcl_pci.c 2014-09-09 17:10:17.000000000 +0300
|
||||
+++ fglrx/lib/modules/fglrx/build_mod/kcl_pci.c 2014-09-23 23:23:32.085208398 +0300
|
||||
@@ -306,6 +306,9 @@ void ATI_API_CALL KCL_PCI_DisableDevice(
|
||||
#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,20)
|
||||
pci_disable_device((struct pci_dev*)dev);
|
||||
#endif
|
||||
+#if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 17, 0)
|
||||
+ pci_ignore_hotplug((struct pci_dev*)dev);
|
||||
+#endif
|
||||
}
|
||||
|
||||
#if defined(__x86_64__)
|
||||
Reference in New Issue
Block a user