summaryrefslogtreecommitdiff
path: root/src/smilynx_hw.c
diff options
context:
space:
mode:
authorFrancisco Jerez <currojerez@gmail.com>2008-10-28 00:13:55 +0100
committerPaulo Cesar Pereira de Andrade <pcpa@mandriva.com.br>2008-10-28 15:09:47 -0200
commit91b5613fb07fec0f319623ca7ec1efd67f04379b (patch)
tree20624de12510cfa1d9617166f2e07cfb97dd620c /src/smilynx_hw.c
parent0faeddb208d8fade4737be4bcadb8814696bd7b4 (diff)
Remove shadowfb based rotation support.
Also done some clean up, like removing unused/redundant members of the screen private structure, and removing now unused configuration file options.
Diffstat (limited to 'src/smilynx_hw.c')
-rw-r--r--src/smilynx_hw.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/smilynx_hw.c b/src/smilynx_hw.c
index 41223e1..d909531 100644
--- a/src/smilynx_hw.c
+++ b/src/smilynx_hw.c
@@ -325,9 +325,6 @@ void
SMILynx_WriteMode(ScrnInfoPtr pScrn, vgaRegPtr vgaSavePtr, SMIRegPtr restore)
{
SMIPtr pSmi = SMIPTR(pScrn);
-
- ENTER();
-
int i;
CARD8 tmp;
CARD32 offset;
@@ -336,9 +333,7 @@ SMILynx_WriteMode(ScrnInfoPtr pScrn, vgaRegPtr vgaSavePtr, SMIRegPtr restore)
int vgaCRIndex = vgaIOBase + VGA_CRTC_INDEX_OFFSET;
int vgaCRData = vgaIOBase + VGA_CRTC_DATA_OFFSET;
- /* Wait for engine to become idle */
- if (pSmi->IsSwitching)
- WaitIdle();
+ ENTER();
if (pSmi->useBIOS && pSmi->pInt10 != NULL && restore->mode != 0) {
pSmi->pInt10->num = 0x10;