diff options
author | V3n3RiX <venerix@gmail.com> | 2014-11-04 23:10:38 +0200 |
---|---|---|
committer | V3n3RiX <venerix@gmail.com> | 2014-11-04 23:10:38 +0200 |
commit | 168104a2cc50f1b461993257cdbce4c83cdb8038 (patch) | |
tree | 5c1ce024d276e13d64ffbcacf6fe95889f6ad450 /x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch | |
parent | 0bb1fcb2a50a7beb3b463764ce451ea7b166d17b (diff) |
just a little cleanup
Diffstat (limited to 'x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch')
-rw-r--r-- | x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch | 30 |
1 files changed, 0 insertions, 30 deletions
diff --git a/x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch b/x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch deleted file mode 100644 index 2b05967a..00000000 --- a/x11-base/xorg-server/files/xorg-server-1.9-nouveau-default.patch +++ /dev/null @@ -1,30 +0,0 @@ -diff --git a/hw/xfree86/common/xf86pciBus.c b/hw/xfree86/common/xf86pciBus.c -index 74016af..9c296f5 100644 ---- a/hw/xfree86/common/xf86pciBus.c -+++ b/hw/xfree86/common/xf86pciBus.c -@@ -1118,7 +1118,23 @@ videoPtrToDriverList(struct pci_device *dev, - break; - case 0x102b: driverList[0] = "mga"; break; - case 0x10c8: driverList[0] = "neomagic"; break; -- case 0x10de: case 0x12d2: driverList[0] = "nv"; break; -+ case 0x10de: case 0x12d2: -+ switch (dev->device_id) { -+ /* NV1 */ -+ case 0x0008: -+ case 0x0009: -+ driverList[0] = "vesa"; -+ break; -+ /* NV3 */ -+ case 0x0018: -+ case 0x0019: -+ driverList[0] = "nv"; -+ break; -+ default: -+ driverList[0] = "nouveau"; -+ break; -+ } -+ break; - case 0x1106: driverList[0] = "openchrome"; break; - case 0x1b36: driverList[0] = "qxl"; break; - case 0x1163: driverList[0] = "rendition"; break; --- |