[PATCH][2.6.7-rc2][vesafb.c] make vram boot option actually work

From: Piotr Kaczuba
Date: Sun May 30 2004 - 12:00:12 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/