summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEamon Walsh <ewalsh@epoch.ncsc.mil>2004-05-04 19:43:35 +0000
committerEamon Walsh <ewalsh@epoch.ncsc.mil>2004-05-04 19:43:35 +0000
commitb67904baabff9a8963967ed4a3675a8f988a8baf (patch)
treef3cb4acd586654dd9aef60b70e1327fedcaa4393
parent50203ba156fb241acb4486bd475dcca6d52e7ca5 (diff)
Merge the new release from HEADXACE-SELINUX
-rw-r--r--man/savage.man10
-rw-r--r--src/savage_driver.c10
2 files changed, 13 insertions, 7 deletions
diff --git a/man/savage.man b/man/savage.man
index f3a7a12..4046aba 100644
--- a/man/savage.man
+++ b/man/savage.man
@@ -14,7 +14,7 @@ savage \- S3 Savage video driver
.fi
.SH DESCRIPTION
.B savage
-is an XFree86 driver for the S3 Savage family video accelerator chips. The
+is an __xservername__ driver for the S3 Savage family video accelerator chips. The
.B savage
driver supports PCI and AGP boards with the following chips:
.TP 16
@@ -51,7 +51,7 @@ driver supports PCI and AGP boards with the following chips:
.B ProSavage DDR-K
(8d04)
.SH CONFIGURATION DETAILS
-Please refer to XF86Config(__filemansuffix__) for general configuration
+Please refer to __xconfigfile__(__filemansuffix__) for general configuration
details. This section only covers configuration details specific to this
driver.
.PP
@@ -101,7 +101,7 @@ produces the best results with the mobile chips (/MX and /IX), since the BIOS
knows how to handle the critical but unusual timing requirements of the
various LCD panels supported by the chip. To do this, the driver searches
through the BIOS mode list, looking for the mode which most closely matches
-the XF86Config mode line. Some purists find this scheme objectionable. If
+the __xconfigfile__ mode line. Some purists find this scheme objectionable. If
you would rather have the
.B savage
driver use your mode line timing exactly, turn off the UseBios option.
@@ -119,8 +119,8 @@ which is slightly more expensive, but avoids the problem. Default: off
.SH FILES
savage_drv.o
.SH "SEE ALSO"
-XFree86(1), XF86Config(__filemansuffix__), xf86config(1), Xserver(1), X(__miscmansuffix__)
+__xservername__(__appmansuffix__), __xconfigfile__(__filemansuffix__), xorgconfig(__appmansuffix__), Xserver(__appmansuffix__), X(__miscmansuffix__)
.SH AUTHORS
Authors include Tim Roberts (timr@probo.com) and Ani Joshi (ajoshi@unixbox.com)
-for the 4.0 version, and Tim Roberts and S. Marineau for the 3.3 driver from
+for this version, and Tim Roberts and S. Marineau for the original driver from
which this was derived.
diff --git a/src/savage_driver.c b/src/savage_driver.c
index 8415d10..8ecceec 100644
--- a/src/savage_driver.c
+++ b/src/savage_driver.c
@@ -323,7 +323,7 @@ static XF86ModuleVersionInfo SavageVersRec = {
MODULEVENDORSTRING,
MODINFOSTRING1,
MODINFOSTRING2,
- XF86_VERSION_CURRENT,
+ XORG_VERSION_CURRENT,
VERSION_MAJOR, VERSION_MINOR, PATCHLEVEL,
ABI_CLASS_VIDEODRV,
ABI_VIDEODRV_VERSION,
@@ -1481,7 +1481,13 @@ static Bool SavageEnterVT(int scrnIndex, int flags)
gpScrn = pScrn;
SavageEnableMMIO(pScrn);
SavageSave(pScrn);
- return SavageModeInit(pScrn, pScrn->currentMode);
+ if(SavageModeInit(pScrn, pScrn->currentMode)) {
+ /* some BIOSes seem to enable HW cursor on PM resume */
+ if (!SAVPTR(pScrn)->hwc_on)
+ SavageHideCursor( pScrn );
+ return TRUE;
+ }
+ return FALSE;
}