Commit d583d3de authored by Andrew Morton's avatar Andrew Morton Committed by Linus Torvalds

[PATCH] vesafb: vram boot option the same as 2.4.x

From: Marc-Christian Petersen <m.c.p@kernel.linux-systeme.com>

Give the vesafb `vram' boot option the same (silly) syntax as 2.4 and
document it.
Signed-off-by: default avatarAndrew Morton <akpm@osdl.org>
Signed-off-by: default avatarLinus Torvalds <torvalds@osdl.org>
parent 99bbdc99
......@@ -146,6 +146,10 @@ pmipal Use the protected mode interface for palette changes.
mtrr setup memory type range registers for the vesafb framebuffer.
vram:n remap 'n' MiB of video RAM. If 0 or not specified, remap memory
according to video mode. (2.5.66 patch/idea by Antonino Daplas
reversed to give override possibility (allocate more fb memory
than the kernel would) to 2.4 by tmb@iki.fi)
Have fun!
......
......@@ -207,7 +207,7 @@ int __init vesafb_setup(char *options)
mtrr=1;
else if (! strcmp(this_opt, "nomtrr"))
mtrr=0;
else if (! strncmp(this_opt, "vram=", 5))
else if (! strncmp(this_opt, "vram:", 5))
vram = simple_strtoul(this_opt+5, NULL, 0);
}
return 0;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment