[PATCH][2.6.7-rc2][vesafb.c] make vram boot option actually work
From: Piotr Kaczuba (pepe_at_attika.ath.cx)
Date: 05/30/04
- Previous message: Randy.Dunlap: "Re: [patch] Re: Gigabit Kconfig problems with yesterday's update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 30 May 2004 18:59:08 +0200 To: linux-kernel@vger.kernel.org
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/
- Previous message: Randy.Dunlap: "Re: [patch] Re: Gigabit Kconfig problems with yesterday's update"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|