summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFelix Kuehling <fxkuehl@gmx.de>2004-10-31 09:48:55 +0000
committerFelix Kuehling <fxkuehl@gmx.de>2004-10-31 09:48:55 +0000
commit114c3d91262f517ff2a76a5f9d438f4400e9a611 (patch)
treef84770becc9b784bdc671dcfcccc76da6f2d7adb
parent5b6ce4975f129b9d630eeb514507f6ac83111c6b (diff)
Make the Savage driver work with the dl-loader.
-rw-r--r--src/savage_driver.c2
-rw-r--r--src/savage_streams.c10
2 files changed, 3 insertions, 9 deletions
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 0446a45..640de4e 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -4116,7 +4116,7 @@ SavageDDC1(int scrnIndex)
InI2CREG(byte,psav->I2CPort);
OutI2CREG(byte | 0x12,psav->I2CPort);
- pMon = xf86DoEDID_DDC1(scrnIndex,vgaHWddc1SetSpeed,SavageDDC1Read);
+ pMon = xf86DoEDID_DDC1(scrnIndex,vgaHWddc1SetSpeedWeak(),SavageDDC1Read);
if (!pMon)
return FALSE;
diff --git a/src/savage_streams.c b/src/savage_streams.c
index aa7285a..e1639a8 100644
--- a/src/savage_streams.c
+++ b/src/savage_streams.c
@@ -7,10 +7,6 @@
#define STREAMS_TRACE 4
-static void SavageInitStreamsOld(ScrnInfoPtr pScrn);
-static void SavageInitStreamsNew(ScrnInfoPtr pScrn);
-static void SavageInitStreams2000(ScrnInfoPtr pScrn);
-
static void OverlayTwisterInit(ScrnInfoPtr pScrn);
static void OverlayParamInit(ScrnInfoPtr pScrn);
static void InitStreamsForExpansion(ScrnInfoPtr pScrn);
@@ -182,8 +178,7 @@ void SavageInitStreamsOld(ScrnInfoPtr pScrn)
}
}
-static void
-SavageInitStreamsNew(ScrnInfoPtr pScrn)
+void SavageInitStreamsNew(ScrnInfoPtr pScrn)
{
SavagePtr psav = SAVPTR(pScrn);
/*unsigned long jDelta;*/
@@ -303,8 +298,7 @@ SavageInitStreamsNew(ScrnInfoPtr pScrn)
}
}
-static void
-SavageInitStreams2000(ScrnInfoPtr pScrn)
+void SavageInitStreams2000(ScrnInfoPtr pScrn)
{
SavagePtr psav = SAVPTR(pScrn);
/*unsigned long jDelta;*/