summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPascal Rigaux <pixel@mandriva.com>2007-04-30 13:08:47 +0000
committerPascal Rigaux <pixel@mandriva.com>2007-04-30 13:08:47 +0000
commitb3f2fa82f163fbdc0c546118f16551ecc98149af (patch)
tree7651819fb555296ee2b7d5c131df8a2823650a20
parent457271873ea5fd0424870a2080bf37f8e5f67132 (diff)
downloaddrakx-kbd-mouse-x11-b3f2fa82f163fbdc0c546118f16551ecc98149af.tar
drakx-kbd-mouse-x11-b3f2fa82f163fbdc0c546118f16551ecc98149af.tar.gz
drakx-kbd-mouse-x11-b3f2fa82f163fbdc0c546118f16551ecc98149af.tar.bz2
drakx-kbd-mouse-x11-b3f2fa82f163fbdc0c546118f16551ecc98149af.tar.xz
drakx-kbd-mouse-x11-b3f2fa82f163fbdc0c546118f16551ecc98149af.zip
- handle new intel driver (including migration from "i810")
-rw-r--r--NEWS2
-rw-r--r--lib/Xconfig/xfree.pm4
2 files changed, 5 insertions, 1 deletions
diff --git a/NEWS b/NEWS
index dbe192c..97ca1d7 100644
--- a/NEWS
+++ b/NEWS
@@ -1,6 +1,6 @@
- don't use 1280x1024 prefered resolution
(using prefered resolution only when adding explicit gtf modelines)
-- handle new intel driver
+- handle new intel driver (including migration from "i810")
- workaround buggy fglrx driver: make dm restart xserver (#29550)
Version 0.15 - 3 April 2007, by Pascal "Pixel" Rigaux
diff --git a/lib/Xconfig/xfree.pm b/lib/Xconfig/xfree.pm
index f1f5614..214389c 100644
--- a/lib/Xconfig/xfree.pm
+++ b/lib/Xconfig/xfree.pm
@@ -41,6 +41,10 @@ sub read_and_prepare_write {
@$l = grep { $_->{val} } @$l;
}
+ foreach ($raw_X->get_Sections('Device')) {
+ $_->{Driver} && $_->{Driver}{val} eq 'i810' and $_->{Driver}{val} = 'intel';
+ }
+
$raw_X, $before;
}
sub read {