patch-2.4.23 linux-2.4.23/drivers/video/q40fb.c

Next file: linux-2.4.23/drivers/video/sis/300vtbl.h
Previous file: linux-2.4.23/drivers/video/fbcmap.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/drivers/video/q40fb.c linux-2.4.23/drivers/video/q40fb.c
@@ -148,6 +148,8 @@
 		return -EINVAL;
 	if(var->activate!=FB_ACTIVATE_NOW)
 		return -EINVAL;
+// ignore broken tools trying to set these values
+#if 0
 	if(var->pixclock!=0)
 		return -EINVAL;
 	if(var->left_margin!=0)
@@ -162,6 +164,7 @@
 		return -EINVAL;
 	if(var->vmode!=FB_VMODE_NONINTERLACED)
 		return -EINVAL;
+#endif
 
 	return 0;
 

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)