diff options
author | Vicente Jiménez <googuy@gmail.com> | 2011-01-07 19:54:26 -0500 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2011-01-10 22:11:16 -0500 |
commit | 90a48151599b5f5137aeb0c8849557231e9c1640 (patch) | |
tree | 4346bbfffcc6a5906bd0cadc21fda759f02e8aec /drivers | |
parent | 0d7fa180a8f314eaa4f766a852bf73abce4dbcc2 (diff) |
video: matroxfb: Correct video option in comments and kernel config help.
Configuring the kernel I found that the Matrox frame buffer help has a
different option than the one in the docs (Documentation/fb/matroxfb.txt).
I decided to check the source code to see what is the correct option.
drivers/video/matrox/matroxfb_base.c has a lot of comments that sugests
that the video option is "matrox".
However in line 2452 of this same file you have:
fb_get_options("matroxfb", &option)
video=matroxfb:XXX is the correct video option not video=matrox:XXX.
Signed-off-by: Vicente Jimenez Aguilar <googuy@gmail.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'drivers')
-rw-r--r-- | drivers/video/Kconfig | 2 | ||||
-rw-r--r-- | drivers/video/matrox/matroxfb_base.c | 70 |
2 files changed, 36 insertions, 36 deletions
diff --git a/drivers/video/Kconfig b/drivers/video/Kconfig index 55dc6fb6e909..c183faace63a 100644 --- a/drivers/video/Kconfig +++ b/drivers/video/Kconfig | |||
@@ -1273,7 +1273,7 @@ config FB_MATROX | |||
1273 | module will be called matroxfb. | 1273 | module will be called matroxfb. |
1274 | 1274 | ||
1275 | You can pass several parameters to the driver at boot time or at | 1275 | You can pass several parameters to the driver at boot time or at |
1276 | module load time. The parameters look like "video=matrox:XXX", and | 1276 | module load time. The parameters look like "video=matroxfb:XXX", and |
1277 | are described in <file:Documentation/fb/matroxfb.txt>. | 1277 | are described in <file:Documentation/fb/matroxfb.txt>. |
1278 | 1278 | ||
1279 | config FB_MATROX_MILLENIUM | 1279 | config FB_MATROX_MILLENIUM |
diff --git a/drivers/video/matrox/matroxfb_base.c b/drivers/video/matrox/matroxfb_base.c index 052dd9f0b760..a082debe824b 100644 --- a/drivers/video/matrox/matroxfb_base.c +++ b/drivers/video/matrox/matroxfb_base.c | |||
@@ -1247,46 +1247,46 @@ static struct { struct fb_bitfield red, green, blue, transp; int bits_per_pixel; | |||
1247 | }; | 1247 | }; |
1248 | 1248 | ||
1249 | /* initialized by setup, see explanation at end of file (search for MODULE_PARM_DESC) */ | 1249 | /* initialized by setup, see explanation at end of file (search for MODULE_PARM_DESC) */ |
1250 | static unsigned int mem; /* "matrox:mem:xxxxxM" */ | 1250 | static unsigned int mem; /* "matroxfb:mem:xxxxxM" */ |
1251 | static int option_precise_width = 1; /* cannot be changed, option_precise_width==0 must imply noaccel */ | 1251 | static int option_precise_width = 1; /* cannot be changed, option_precise_width==0 must imply noaccel */ |
1252 | static int inv24; /* "matrox:inv24" */ | 1252 | static int inv24; /* "matroxfb:inv24" */ |
1253 | static int cross4MB = -1; /* "matrox:cross4MB" */ | 1253 | static int cross4MB = -1; /* "matroxfb:cross4MB" */ |
1254 | static int disabled; /* "matrox:disabled" */ | 1254 | static int disabled; /* "matroxfb:disabled" */ |
1255 | static int noaccel; /* "matrox:noaccel" */ | 1255 | static int noaccel; /* "matroxfb:noaccel" */ |
1256 | static int nopan; /* "matrox:nopan" */ | 1256 | static int nopan; /* "matroxfb:nopan" */ |
1257 | static int no_pci_retry; /* "matrox:nopciretry" */ | 1257 | static int no_pci_retry; /* "matroxfb:nopciretry" */ |
1258 | static int novga; /* "matrox:novga" */ | 1258 | static int novga; /* "matroxfb:novga" */ |
1259 | static int nobios; /* "matrox:nobios" */ | 1259 | static int nobios; /* "matroxfb:nobios" */ |
1260 | static int noinit = 1; /* "matrox:init" */ | 1260 | static int noinit = 1; /* "matroxfb:init" */ |
1261 | static int inverse; /* "matrox:inverse" */ | 1261 | static int inverse; /* "matroxfb:inverse" */ |
1262 | static int sgram; /* "matrox:sgram" */ | 1262 | static int sgram; /* "matroxfb:sgram" */ |
1263 | #ifdef CONFIG_MTRR | 1263 | #ifdef CONFIG_MTRR |
1264 | static int mtrr = 1; /* "matrox:nomtrr" */ | 1264 | static int mtrr = 1; /* "matroxfb:nomtrr" */ |
1265 | #endif | 1265 | #endif |
1266 | static int grayscale; /* "matrox:grayscale" */ | 1266 | static int grayscale; /* "matroxfb:grayscale" */ |
1267 | static int dev = -1; /* "matrox:dev:xxxxx" */ | 1267 | static int dev = -1; /* "matroxfb:dev:xxxxx" */ |
1268 | static unsigned int vesa = ~0; /* "matrox:vesa:xxxxx" */ | 1268 | static unsigned int vesa = ~0; /* "matroxfb:vesa:xxxxx" */ |
1269 | static int depth = -1; /* "matrox:depth:xxxxx" */ | 1269 | static int depth = -1; /* "matroxfb:depth:xxxxx" */ |
1270 | static unsigned int xres; /* "matrox:xres:xxxxx" */ | 1270 | static unsigned int xres; /* "matroxfb:xres:xxxxx" */ |
1271 | static unsigned int yres; /* "matrox:yres:xxxxx" */ | 1271 | static unsigned int yres; /* "matroxfb:yres:xxxxx" */ |
1272 | static unsigned int upper = ~0; /* "matrox:upper:xxxxx" */ | 1272 | static unsigned int upper = ~0; /* "matroxfb:upper:xxxxx" */ |
1273 | static unsigned int lower = ~0; /* "matrox:lower:xxxxx" */ | 1273 | static unsigned int lower = ~0; /* "matroxfb:lower:xxxxx" */ |
1274 | static unsigned int vslen; /* "matrox:vslen:xxxxx" */ | 1274 | static unsigned int vslen; /* "matroxfb:vslen:xxxxx" */ |
1275 | static unsigned int left = ~0; /* "matrox:left:xxxxx" */ | 1275 | static unsigned int left = ~0; /* "matroxfb:left:xxxxx" */ |
1276 | static unsigned int right = ~0; /* "matrox:right:xxxxx" */ | 1276 | static unsigned int right = ~0; /* "matroxfb:right:xxxxx" */ |
1277 | static unsigned int hslen; /* "matrox:hslen:xxxxx" */ | 1277 | static unsigned int hslen; /* "matroxfb:hslen:xxxxx" */ |
1278 | static unsigned int pixclock; /* "matrox:pixclock:xxxxx" */ | 1278 | static unsigned int pixclock; /* "matroxfb:pixclock:xxxxx" */ |
1279 | static int sync = -1; /* "matrox:sync:xxxxx" */ | 1279 | static int sync = -1; /* "matroxfb:sync:xxxxx" */ |
1280 | static unsigned int fv; /* "matrox:fv:xxxxx" */ | 1280 | static unsigned int fv; /* "matroxfb:fv:xxxxx" */ |
1281 | static unsigned int fh; /* "matrox:fh:xxxxxk" */ | 1281 | static unsigned int fh; /* "matroxfb:fh:xxxxxk" */ |
1282 | static unsigned int maxclk; /* "matrox:maxclk:xxxxM" */ | 1282 | static unsigned int maxclk; /* "matroxfb:maxclk:xxxxM" */ |
1283 | static int dfp; /* "matrox:dfp */ | 1283 | static int dfp; /* "matroxfb:dfp */ |
1284 | static int dfp_type = -1; /* "matrox:dfp:xxx */ | 1284 | static int dfp_type = -1; /* "matroxfb:dfp:xxx */ |
1285 | static int memtype = -1; /* "matrox:memtype:xxx" */ | 1285 | static int memtype = -1; /* "matroxfb:memtype:xxx" */ |
1286 | static char outputs[8]; /* "matrox:outputs:xxx" */ | 1286 | static char outputs[8]; /* "matroxfb:outputs:xxx" */ |
1287 | 1287 | ||
1288 | #ifndef MODULE | 1288 | #ifndef MODULE |
1289 | static char videomode[64]; /* "matrox:mode:xxxxx" or "matrox:xxxxx" */ | 1289 | static char videomode[64]; /* "matroxfb:mode:xxxxx" or "matroxfb:xxxxx" */ |
1290 | #endif | 1290 | #endif |
1291 | 1291 | ||
1292 | static int matroxfb_getmemory(struct matrox_fb_info *minfo, | 1292 | static int matroxfb_getmemory(struct matrox_fb_info *minfo, |