mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 15:12:02 +01:00
28 lines
599 B
Diff
28 lines
599 B
Diff
--- a/hw/xfree86/common/xf86pciBus.c
|
|
+++ b/hw/xfree86/common/xf86pciBus.c
|
|
@@ -1144,7 +1144,23 @@
|
|
int idx = 0;
|
|
|
|
#if defined(__linux__) || defined(__NetBSD__)
|
|
- driverList[idx++] = "nouveau";
|
|
+ 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++] = "nouveau";
|
|
+ driverList[idx++] = "nvidia";
|
|
+ break;
|
|
+ }
|
|
#endif
|
|
driverList[idx++] = "nv";
|
|
break;
|