Skip to contentSkip to conversation

make vram boot option actually work

PATCH New Piotr Kaczuba 1 participant 1 message May 30, 2004

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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 2004-05-30 18:43:18.000000000 +0200 renamed from vesafb.c.orig 2004-05-30 18:43:42.000000000 +0200 +1 -1
@@ -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