[PATCH] tdfxfb: add mode_option module parameter

DORMANTno replies

From: Krzysztof Helt <hidden>
Date: 2008-05-27 17:00:39

From: Krzysztof Helt <redacted>

Small step toward unification of mode setting parameter.
This is required to fix the Bugzilla's bug 9847

Signed-off-by: Krzysztof Helt <redacted>

diff -urp linux-2.6.25/drivers/video/tdfxfb.c linux-new/drivers/video/tdfxfb.c
--- linux-2.6.25/drivers/video/tdfxfb.c	2008-05-17 07:54:43.388206192 +0200
+++ linux-new/drivers/video/tdfxfb.c	2008-05-27 18:51:26.874974261 +0200
@@ -1426,6 +1426,8 @@ MODULE_LICENSE("GPL");
 module_param(hwcursor, int, 0644);
 MODULE_PARM_DESC(hwcursor, "Enable hardware cursor "
 			"(1=enable, 0=disable, default=1)");
+module_param(mode_option, charp, 0);
+MODULE_PARM_DESC(mode_option, "Initial video mode e.g. '648x480-8@60'");
 #ifdef CONFIG_MTRR
 module_param(nomtrr, bool, 0);
 MODULE_PARM_DESC(nomtrr, "Disable MTRR support (default: enabled)");


----------------------------------------------------------------------
Mucha powraca!
Sprawdz >>> http://link.interia.pl/f1e0d


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help