• Antonino Daplas's avatar
    [PATCH] fbcon: Fix setup boot options of fbcon · 899a94d1
    Antonino Daplas authored
    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 <
    899a94d1
fbcon.c 75.5 KB