summaryrefslogtreecommitdiff
path: root/src/nv_driver.c
diff options
context:
space:
mode:
authorAaron Plattner <aplattner@nvidia.com>2007-01-17 21:41:06 -0800
committerAaron Plattner <aplattner@nvidia.com>2007-01-17 21:41:06 -0800
commitdd305c3f64f9267d54324d734f1028bfc00e474f (patch)
treeaec726ac650e9db8ec77004e7c16dfc8289471f8 /src/nv_driver.c
parent96bd57b0597dbbda0ca5c46c2135e5813c80d79f (diff)
Remove the riva128 submodule. Link Riva support into nv_drv.so directly.
Diffstat (limited to 'src/nv_driver.c')
-rw-r--r--src/nv_driver.c17
1 files changed, 2 insertions, 15 deletions
diff --git a/src/nv_driver.c b/src/nv_driver.c
index fc83770..8f40cfa 100644
--- a/src/nv_driver.c
+++ b/src/nv_driver.c
@@ -440,12 +440,6 @@ static const char *int10Symbols[] = {
NULL
};
-static const char *rivaSymbols[] = {
- "RivaGetScrnInfoRec",
- "RivaAvailableOptions",
- NULL
-};
-
#ifdef XFree86LOADER
@@ -558,7 +552,7 @@ nvSetup(pointer module, pointer opts, int *errmaj, int *errmin)
* might refer to.
*/
LoaderRefSymLists(vgahwSymbols, xaaSymbols, fbSymbols,
- ramdacSymbols, shadowSymbols, rivaSymbols,
+ ramdacSymbols, shadowSymbols,
i2cSymbols, ddcSymbols, vbeSymbols,
fbdevHWSymbols, int10Symbols, NULL);
@@ -580,10 +574,7 @@ static const OptionInfoRec *
NVAvailableOptions(int chipid, int busid)
{
if(chipid == 0x12D20018) {
- if (!xf86LoadOneModule("riva128", NULL)) {
- return NULL;
- } else
- return RivaAvailableOptions(chipid, busid);
+ return RivaAvailableOptions(chipid, busid);
}
return NVOptions;
@@ -769,10 +760,6 @@ NVProbe(DriverPtr drv, int flags)
pPci = xf86GetPciInfoForEntity(usedChips[i]);
if(pPci->vendor == PCI_VENDOR_NVIDIA_SGS) {
- if (!xf86LoadDrvSubModule(drv, "riva128")) {
- continue;
- }
- xf86LoaderReqSymLists(rivaSymbols, NULL);
if(RivaGetScrnInfoRec(NVPciChipsets, usedChips[i]))
foundScreen = TRUE;
} else {