[xserver-commit] xserver/hw/kdrive/fbdev fbdev.c,1.40,1.41

Eric Anholt xserver-commit@pdx.freedesktop.org
Sun, 30 Nov 2003 20:33:37 -0800


Committed by: anholt

Update of /cvs/xserver/xserver/hw/kdrive/fbdev
In directory pdx:/home/anholt/xserver/hw/kdrive/fbdev

Modified Files:
	fbdev.c 
Log Message:
- Add fbdev mode-setting backend to Xati.  It and vesa are compiled
  in when available, with fbdev being used by default.
- Use depth 16 by default when vesa backend is used.
- Add MMIO defines for PowerPC (should be in a common location).

Many thanks for Michel Daenzer for much of this code.


Index: fbdev.c
===================================================================
RCS file: /cvs/xserver/xserver/hw/kdrive/fbdev/fbdev.c,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -d -r1.40 -r1.41
--- fbdev.c	17 Nov 2003 06:54:52 -0000	1.40
+++ fbdev.c	1 Dec 2003 04:33:34 -0000	1.41
@@ -37,7 +37,7 @@
     int		    k;
     unsigned long   off;
     if ((priv->fd = open("/dev/fb0", O_RDWR)) < 0) {
-	perror("Error opening /dev/fb0\n");
+	perror("Error opening /dev/fb0");
 	return FALSE;
     }
     /* quiet valgrind */