summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAdam Jackson <ajax@redhat.com>2009-05-28 14:47:16 -0400
committerAdam Jackson <ajax@redhat.com>2009-05-28 14:47:16 -0400
commite7e38d2ba0fcd6c1debbfd1062663a18f25f6266 (patch)
tree88d1bb62a850e2e8d9797a66b57e5d95a7c8446b /src
parentca0863e91cf7bdbd2f9c30aa1af5c9471dfc858e (diff)
Remove useless loader symbol lists.
Diffstat (limited to 'src')
-rw-r--r--src/ast_driver.c102
1 files changed, 0 insertions, 102 deletions
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 927ad6a..741414c 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -158,93 +158,6 @@ static const OptionInfoRec ASTOptions[] = {
{-1, NULL, OPTV_NONE, {0}, FALSE}
};
-const char *vgahwSymbols[] = {
- "vgaHWFreeHWRec",
- "vgaHWGetHWRec",
- "vgaHWGetIOBase",
- "vgaHWGetIndex",
- "vgaHWInit",
- "vgaHWLock",
- "vgaHWMapMem",
- "vgaHWProtect",
- "vgaHWRestore",
- "vgaHWSave",
- "vgaHWSaveScreen",
- "vgaHWSetMmioFuncs",
- "vgaHWUnlock",
- "vgaHWUnmapMem",
- NULL
-};
-
-const char *fbSymbols[] = {
- "fbPictureInit",
- "fbScreenInit",
- NULL
-};
-
-const char *vbeSymbols[] = {
- "VBEInit",
- "VBEFreeModeInfo",
- "VBEFreeVBEInfo",
- "VBEGetModeInfo",
- "VBEGetModePool",
- "VBEGetVBEInfo",
- "VBEGetVBEMode",
- "VBEPrintModes",
- "VBESaveRestore",
- "VBESetDisplayStart",
- "VBESetGetDACPaletteFormat",
- "VBESetGetLogicalScanlineLength",
- "VBESetGetPaletteData",
- "VBESetModeNames",
- "VBESetModeParameters",
- "VBESetVBEMode",
- "VBEValidateModes",
- "vbeDoEDID",
- "vbeFree",
- NULL
-};
-
-#ifdef XFree86LOADER
-static const char *vbeOptionalSymbols[] = {
- "VBEDPMSSet",
- "VBEGetPixelClock",
- NULL
-};
-#endif
-
-const char *ddcSymbols[] = {
- "xf86PrintEDID",
- "xf86SetDDCproperties",
- NULL
-};
-
-const char *int10Symbols[] = {
- "xf86ExecX86int10",
- "xf86InitInt10",
- "xf86Int10AllocPages",
- "xf86int10Addr",
- "xf86FreeInt10",
- NULL
-};
-
-const char *xaaSymbols[] = {
- "XAACreateInfoRec",
- "XAADestroyInfoRec",
- "XAAInit",
- "XAACopyROP",
- "XAAPatternROP",
- NULL
-};
-
-const char *ramdacSymbols[] = {
- "xf86CreateCursorInfoRec",
- "xf86DestroyCursorInfoRec",
- "xf86InitCursor",
- NULL
-};
-
-
#ifdef XFree86LOADER
static MODULESETUPPROTO(astSetup);
@@ -280,15 +193,6 @@ astSetup(pointer module, pointer opts, int *errmaj, int *errmin)
xf86AddDriver(&AST, module, 0);
/*
- * Tell the loader about symbols from other modules that this module
- * might refer to.
- */
- LoaderRefSymLists(vgahwSymbols,
- fbSymbols, xaaSymbols, ramdacSymbols,
- vbeSymbols, vbeOptionalSymbols,
- ddcSymbols, int10Symbols, NULL);
-
- /*
* The return value must be non-NULL on success even though there
* is no TearDownProc.
*/
@@ -445,12 +349,10 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
/* The vgahw module should be loaded here when needed */
if (!xf86LoadSubModule(pScrn, "vgahw"))
return FALSE;
- xf86LoaderReqSymLists(vgahwSymbols, NULL);
/* The fb module should be loaded here when needed */
if (!xf86LoadSubModule(pScrn, "fb"))
return FALSE;
- xf86LoaderReqSymLists(fbSymbols, NULL);
/* Allocate a vgaHWRec */
if (!vgaHWGetHWRec(pScrn))
@@ -626,7 +528,6 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
{
if (xf86LoadSubModule(pScrn, "int10")) {
xf86Int10InfoPtr pInt10;
- xf86LoaderReqSymLists(int10Symbols, NULL);
xf86DrvMsg(pScrn->scrnIndex,X_INFO,"initializing int10\n");
pInt10 = xf86InitInt10(pAST->pEnt->index);
xf86FreeInt10(pInt10);
@@ -731,7 +632,6 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
ASTFreeRec(pScrn);
return FALSE;
}
- xf86LoaderReqSymLists(xaaSymbols, NULL);
pAST->noAccel = FALSE;
@@ -765,7 +665,6 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
ASTFreeRec(pScrn);
return FALSE;
}
- xf86LoaderReqSymLists(ramdacSymbols, NULL);
pAST->noHWC = FALSE;
pAST->HWCInfo.HWC_NUM = DEFAULT_HWC_NUM;
@@ -1261,7 +1160,6 @@ ASTDoDDC(ScrnInfoPtr pScrn, int index)
}
if (xf86LoadSubModule(pScrn, "vbe") && (pVbe = VBEInit(NULL, index))) {
- xf86LoaderReqSymLists(vbeSymbols, NULL);
MonInfo1 = vbeDoEDID(pVbe, NULL);
MonInfo = MonInfo1;