From: James S. <jsi...@in...> - 2004-01-26 22:42:39
|
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; |