lkml.org 
[lkml]   [2004]   [Jan]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subjectfbdev booting fix.

Hi!

This is very critical bug fix. This bug was causing the problem with
people builing more than one driver with vesa and they where getting blank
screens. The reason was befor ethe api change each driver was loaded and
set as the default driver. Then you ended up with the last driver being
the default driver. Now this is the not the case so this patch makes the
first driver the default driver.


[FBCON] Fixed the order of which driver is used for the console. Before
the api change the last driver loaded became the default one. Now this is
not the case.

--- linus-2.6/drivers/video/console/fbcon.c 2004-01-26 13:38:23.000000000 -0800
+++ fbdev-2.6/drivers/video/console/fbcon.c 2004-01-26 17:14:00.000000000 -0800
@@ -545,7 +545,7 @@
return display_desc;
done = 1;

- info = registered_fb[num_registered_fb-1];
+ info = registered_fb[0];
if (!info) return NULL;
info->currcon = -1;

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:00    [W:0.050 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site