diff options
author | Lars-Peter Clausen <lars@metafoo.de> | 2009-02-19 20:31:54 +0100 |
---|---|---|
committer | Lars-Peter Clausen <lars@metafoo.de> | 2009-02-19 20:31:54 +0100 |
commit | 2d88ad6be64d4a5fe6a6b1121759e5b8a3613411 (patch) | |
tree | e82d79e139b0c74439d192e17ebaa1d62272e885 /src/glamo-driver.c | |
parent | f195bc0f17e395e2e177f5e101ee4fa004c9175f (diff) |
Use "Device" as option name to set the path to the framebuffer device.
Diffstat (limited to 'src/glamo-driver.c')
-rw-r--r-- | src/glamo-driver.c | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/glamo-driver.c b/src/glamo-driver.c index d1bfa3d..3295f95 100644 --- a/src/glamo-driver.c +++ b/src/glamo-driver.c @@ -108,7 +108,8 @@ static SymTabRec GlamoChipsets[] = { /* Supported options */ typedef enum { OPTION_SHADOW_FB, - OPTION_DEBUG + OPTION_DEVICE, + OPTION_DEBUG, } GlamoOpts; static const OptionInfoRec GlamoOptions[] = { @@ -289,7 +290,7 @@ GlamoProbe(DriverPtr drv, int flags) xf86LoaderReqSymLists(fbdevHWSymbols, NULL); for (i = 0; i < numDevSections; i++) { - dev = xf86FindOptionValue(devSections[i]->options, "Glamo"); + dev = xf86FindOptionValue(devSections[i]->options, "Device"); if (fbdevHWProbe(NULL, dev, NULL)) { int entity; pScrn = NULL; @@ -352,7 +353,7 @@ GlamoPreInit(ScrnInfoPtr pScrn, int flags) /* XXX Is this right? Can probably remove RAC_FB */ pScrn->racIoFlags = RAC_FB | RAC_COLORMAP | RAC_CURSOR | RAC_VIEWPORT; - fb_device = xf86FindOptionValue(pGlamo->pEnt->device->options, "Glamo"); + fb_device = xf86FindOptionValue(pGlamo->pEnt->device->options, "Device"); /* open device */ if (!fbdevHWInit(pScrn, NULL, fb_device)) |