lkml.org 
[lkml]   [2004]   [May]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Date
From
Subject[PATCH][2.6.7-rc2][vesafb.c] make vram boot option actually work
The following patch makes the vram boot option actually be recognized  
and its value assigned to the vram variable.




--- vesafb.c.orig 2004-05-30 18:43:42.000000000 +0200
+++ vesafb.c 2004-05-30 18:43:18.000000000 +0200
@@ -207,7 +207,7 @@
mtrr=1;
else if (! strcmp(this_opt, "nomtrr"))
mtrr=0;
- else if (! strcmp(this_opt, "vram"))
+ else if (! strncmp(this_opt, "vram=", 5))
vram = simple_strtoul(this_opt+5, NULL, 0);
}
return 0;

Piotr Kaczuba
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 14:03    [W:0.039 / U:0.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site