1From f2d808cea5b9f69158f82e16c06f882a6db10d63 Mon Sep 17 00:00:00 2001
2From: Martin Jansa <Martin.Jansa@gmail.com>
3Date: Wed, 11 Apr 2012 14:40:14 +0200
4Subject: [PATCH] xserver-common: add support for n900 alias nokia_rx-51_board
5
6Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
7
8---
9 X11/xserver-common | 7 +++++++
10 1 file changed, 7 insertions(+)
11
12diff --git a/X11/xserver-common b/X11/xserver-common
13index a2c0591..b8c37e6 100644
14--- a/X11/xserver-common
15+++ b/X11/xserver-common
16@@ -132,6 +132,13 @@ else
17         "nokia_n800" | "nokia_rx-44" | "nokia_n770")
18             ARGS="$ARGS -screen ${SCREEN_SIZE}"
19             DPI="225" ;;
20+        "nokia_rx-51_board" )
21+            DPI="267"
22+            if [ "$XSERVER" != "Xorg" ] ; then
23+                ARGS="$ARGS -screen ${SCREEN_SIZE}"
24+            else
25+                ARGS="$ARGS -dpi ${DPI} -nocursor"
26+            fi ;;
27         "gta01" )
28             DPI="280"
29             if [ "$XSERVER" != "Xorg" ] ; then
30