1
Index: xserver-xorg-core/hw/xfree86/common/xf86AutoConfig.c
2
===================================================================
3
--- xserver-xorg-core.orig/hw/xfree86/common/xf86AutoConfig.c 2010-02-01 18:51:54.903592582 +1100
4
+++ xserver-xorg-core/hw/xfree86/common/xf86AutoConfig.c 2010-02-01 18:54:14.473621510 +1100
7
case 0x102b: driverList[0] = "mga"; break;
8
case 0x10c8: driverList[0] = "neomagic"; break;
9
- case 0x10de: case 0x12d2: driverList[0] = "nv"; break;
10
+ case 0x10de: case 0x12d2:
11
+ switch (dev->device_id) {
12
+ /* NV1 - NV2 are unsupported by nouveau, or nv */
16
+ driverList[0] = "vesa";
18
+ /* NV3 is supported by nv */
21
+ driverList[0] = "nv";
23
+ /* Everything else is supported by nouveau */
25
+ switch (dev->device_id & 0xfff0) {
26
+ /* These integrated cards apparently don't work with the
27
+ nv driver. Nouveau does support them */
30
+ driverList[0] = "nouveau";
33
+ driverList[0] = "nouveau";
34
+ driverList[1] = "nv";
40
case 0x1106: driverList[0] = "openchrome"; break;
41
case 0x1163: driverList[0] = "rendition"; break;