summaryrefslogtreecommitdiff
path: root/extra/xorg-server/autoconfig-nvidia.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xorg-server/autoconfig-nvidia.patch')
-rw-r--r--extra/xorg-server/autoconfig-nvidia.patch12
1 files changed, 6 insertions, 6 deletions
diff --git a/extra/xorg-server/autoconfig-nvidia.patch b/extra/xorg-server/autoconfig-nvidia.patch
index 9ed9b7aee..6d5220ac7 100644
--- a/extra/xorg-server/autoconfig-nvidia.patch
+++ b/extra/xorg-server/autoconfig-nvidia.patch
@@ -1,11 +1,11 @@
diff -Nur xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c
--- xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c 2012-02-10 10:10:37.583014924 +0000
+++ xorg-server-1.11.99.902/hw/xfree86/common/xf86pciBus.c 2012-02-10 11:16:07.148971317 +0000
-@@ -1111,7 +1111,23 @@
- {
- int idx = 0;
+@@ -1144,7 +1144,23 @@
+ int idx = 0;
+
#ifdef __linux__
-- driverList[idx++] = "nouveau";
+- driverList[idx++] = "nouveau";
+ switch (dev->device_id)
+ {
+ /* NV1 */
@@ -24,5 +24,5 @@ diff -Nur xorg-server-1.11.99.902.orig/hw/xfree86/common/xf86pciBus.c xorg-serve
+ break;
+ }
#endif
- driverList[idx++] = "nv";
- break;
+ driverList[idx++] = "nv";
+ break;