2012-03-13 13:24:57 +00:00
|
|
|
--- hw/xfree86/common/xf86pciBus.c 2012-02-10 10:10:37.583014924 +0000
|
|
|
|
+++ hw/xfree86/common/xf86pciBus.c 2012-02-10 11:16:07.148971317 +0000
|
2012-04-10 06:50:46 +00:00
|
|
|
@@ -1144,7 +1144,23 @@
|
|
|
|
int idx = 0;
|
|
|
|
|
2012-03-13 13:24:57 +00:00
|
|
|
#ifdef __linux__
|
2012-04-10 06:50:46 +00:00
|
|
|
- driverList[idx++] = "nouveau";
|
2012-03-13 13:24:57 +00:00
|
|
|
+ switch (dev->device_id)
|
|
|
|
+ {
|
|
|
|
+ /* NV1 */
|
|
|
|
+ case 0x0008:
|
|
|
|
+ case 0x0009:
|
|
|
|
+ driverList[idx++] = "vesa";
|
|
|
|
+ break;
|
|
|
|
+ /* NV3 */
|
|
|
|
+ case 0x0018:
|
|
|
|
+ case 0x0019:
|
|
|
|
+ driverList[idx++] = "nouveau";
|
|
|
|
+ break;
|
|
|
|
+ default:
|
|
|
|
+ driverList[idx++] = "nvidia";
|
2012-09-15 07:50:02 +00:00
|
|
|
+ driverList[idx++] = "nouveau";
|
2012-03-13 13:24:57 +00:00
|
|
|
+ break;
|
|
|
|
+ }
|
|
|
|
#endif
|
2012-04-10 06:50:46 +00:00
|
|
|
driverList[idx++] = "nv";
|
|
|
|
break;
|