]> git.hungrycats.org Git - linux/commit
[PATCH] fbcon: Fix setup boot options of fbcon
authorAntonino Daplas <adaplas@hotpop.com>
Tue, 19 Oct 2004 01:06:02 +0000 (18:06 -0700)
committerLinus Torvalds <torvalds@ppc970.osdl.org>
Tue, 19 Oct 2004 01:06:02 +0000 (18:06 -0700)
commit899a94d126cb9ede8b55a168f72e1b7ab5e00c92
tree33e603d7faeb1928904ba32103b7fa2fcea10300
parent54f5dd97f7b152f4996c5890a8a6813a37d9d25b
[PATCH] fbcon: Fix setup boot options of fbcon

This patch fixes the 'fbcon=map:<option>" of fbcon.  (This option has been
present since 2.4, but got broken in 2.6). This particular option tells
fbcon what framebuffer device gets mapped to what console. Syntax is:

fbcon=map:abcd...

where a, b, c, d,... are framebuffer numbers as it would
appear in /proc/fb.

Given only 2 valid fbdevs, 0 and 1, if fbcon=map:0110, then:

tty1 = fb0
tty2 = fb1
tty3 = fb1
tty4 = fb0
(sequence repeats for the rest of the consoles)

If an invalid framebuffer is used, then the console will be mapped to the
first user-chosen framebuffer.  Ie: fbcon=map:102

tty1 = fb1
tty2 = fb0
tty3 = fb1 <
drivers/video/console/fbcon.c
drivers/video/fbmem.c