Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- ./broken/usr/src/fglrx-13.250/kcl_acpi.c 2013-11-27 11:05:24.000000000 -0500
- +++ ./working/usr/src/fglrx-13.250/kcl_acpi.c 2013-11-27 12:24:20.000000000 -0500
- @@ -779,9 +779,25 @@
- {
- #if LINUX_VERSION_CODE > KERNEL_VERSION(2,6,12)
- #if LINUX_VERSION_CODE >= KERNEL_VERSION(3,8,0)
- - pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
- +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,12,0)
- +
- + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
- +
- +#else
- +
- + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion;
- +
- +#endif
- #elif LINUX_VERSION_CODE > KERNEL_VERSION(2,6,19)
- - pInfo->video_handle = pInfo->pcidev->dev.archdata.acpi_handle;
- +#if LINUX_VERSION_CODE < KERNEL_VERSION(3,13,0)
- +
- + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.handle;
- +
- +#else
- +
- + pInfo->video_handle = pInfo->pcidev->dev.acpi_node.companion;
- +
- +#endif
- #else
- pInfo->video_handle = pInfo->pcidev->dev.firmware_data;
- #endif
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement