- removed patches 2 and 3, seems to be obsolete
[packages/xorg-driver-video-nvidia.git] / X11-driver-nvidia-power-suspend.patch
1 --- NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c.orig 2004-10-27 18:26:34.998538408 +0200
2 +++ NVIDIA-Linux-x86-1.0-6111-pkg1/usr/src/nv/nv.c      2004-10-27 18:27:13.447693248 +0200
3 @@ -3689,9 +3689,16 @@
4          return -1;
5      }
6  
7 +    // Fix up problems with PM_SAVE_STATE being removed from 2.6.9
8 +    #ifdef PM_SAVE_STATE
9 +      #define PM_TMP PM_SAVE_STATE
10 +    #else
11 +      #define PM_TMP PM_SUSPEND
12 +    #endif
13 +    
14      switch (state)
15      {
16 -        case PM_SAVE_STATE:
17 +        case PM_TMP:
18              nv_printf(NV_DBG_INFO, "NVRM: ACPI: received standby event\n");
19              status = rm_power_management(nv, 0, NV_PM_ACPI_STANDBY);
20              break;
This page took 0.047644 seconds and 3 git commands to generate.