summaryrefslogtreecommitdiff
path: root/testing/xorg-server/autoconfig-sis.patch
blob: d936efaaa83637e416b766b6d3be204411be3c70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
--- hw/xfree86/common/xf86pciBus.c.orig	2011-09-24 10:53:45.421697668 +0000
+++ hw/xfree86/common/xf86pciBus.c	2011-09-24 10:55:56.416250708 +0000
@@ -1140,7 +1140,15 @@
 		    driverList[0] = "savage"; break;
 	    }
 	    break;
-	case 0x1039:		    driverList[0] = "sis";	break;
+	case 0x1039:
+	    switch (dev->device_id)
+	    {
+		case 0x6350: case 0x6351:
+		    driverList[0] = "sisimedia"; driverList[1] = "sis"; break;
+		default:
+		    driverList[0] = "sis"; break;
+	    }
+	    break;
 	case 0x126f:		    driverList[0] = "siliconmotion"; break;
 	case 0x121a:
 	    if (dev->device_id < 0x0003)