Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 281295
b: refs/heads/master
c: 2d2c880
h: refs/heads/master
i:
  281293: 02f8eb8
  281291: 8889e12
  281287: 29811d1
  281279: ed15316
v: v3
  • Loading branch information
Aaro Koskinen authored and Greg Kroah-Hartman committed Dec 8, 2011
1 parent 5692543 commit d7b0b2c
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 25aa75f142e0e6945a6d5db3dbcd9d6919525866
refs/heads/master: 2d2c880f8c16f4047cb642a5843ca6fa56f0d2a6
8 changes: 8 additions & 0 deletions trunk/drivers/staging/xgifb/XGI_main_26.c
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
#define GPIOG_EN (1<<6)
#define GPIOG_READ (1<<1)

static char *forcecrt2type;
static char *mode;
static int vesa = -1;
static unsigned int refresh_rate;
Expand Down Expand Up @@ -2358,6 +2359,8 @@ static int __init xgifb_init(void)
{
char *option = NULL;

if (forcecrt2type != NULL)
XGIfb_search_crt2type(forcecrt2type);
if (fb_get_options("xgifb", &option))
return -ENODEV;
XGIfb_setup(option);
Expand All @@ -2380,6 +2383,11 @@ MODULE_AUTHOR("XGITECH , Others");
module_param(mode, charp, 0);
module_param(vesa, int, 0);
module_param(filter, int, 0);
module_param(forcecrt2type, charp, 0);

MODULE_PARM_DESC(forcecrt2type,
"\nForce the second display output type. Possible values are NONE,\n"
"LCD, TV, VGA, SVIDEO or COMPOSITE.\n");

MODULE_PARM_DESC(mode,
"\nSelects the desired default display mode in the format XxYxDepth,\n"
Expand Down

0 comments on commit d7b0b2c

Please sign in to comment.