forked from pool/xorg-x11-server
22 lines
788 B
Diff
22 lines
788 B
Diff
diff --git a/hw/xfree86/common/xf86AutoConfig.c b/hw/xfree86/common/xf86AutoConfig.c
|
|
index 29b58e9..4c800e9 100644
|
|
--- a/hw/xfree86/common/xf86AutoConfig.c
|
|
+++ b/hw/xfree86/common/xf86AutoConfig.c
|
|
@@ -164,7 +164,15 @@ videoPtrToDriverList(struct pci_device *dev,
|
|
case 0x1142: driverList[0] = "apm"; break;
|
|
case 0xedd8: driverList[0] = "ark"; break;
|
|
case 0x1a03: driverList[0] = "ast"; break;
|
|
- case 0x1002: driverList[0] = "ati"; break;
|
|
+ case 0x1002:
|
|
+ if (
|
|
+#include "radeonhd.h"
|
|
+ ) {
|
|
+ driverList[0] = "radeonhd";
|
|
+ } else {
|
|
+ driverList[0] = "ati";
|
|
+ }
|
|
+ break;
|
|
case 0x102c: driverList[0] = "chips"; break;
|
|
case 0x1013: driverList[0] = "cirrus"; break;
|
|
case 0x3d3d: driverList[0] = "glint"; break;
|