Ian Romanick
d7a3e073d3
Revert "Remove unused function XGI_SetPitchCRT."
...
This reverts commit e92432874f .
It turns out that XGI_SetPitch (the actual function removed) is still
used.
2007-04-26 18:35:28 -07:00
Ian Romanick
e92432874f
Remove unused function XGI_SetPitchCRT.
2007-04-25 20:57:31 -07:00
Ian Romanick
dcaf6d37b9
Remove functions that are '#ifndef LINUX_XF86'
2007-04-25 20:56:57 -07:00
Ian Romanick
c3e53d9826
Remove unused function XGI_CalcLCDACRT1Timing.
2007-04-25 20:51:08 -07:00
Ian Romanick
106e2eb87c
Remove numerous unused structures, structure fields, and static arrays.
2007-04-25 20:48:19 -07:00
Ian Romanick
f05077e62e
Remove various Chrontel related cruft.
2007-04-25 17:51:31 -07:00
Ian Romanick
df3bb2dd70
Remove VBLCDFlags and associated cruft.
2007-04-25 17:48:36 -07:00
Ian Romanick
0a8433b42a
Add some system includes to silence warnings.
...
I suspect that the addition of sys/ioctl.h and fcntl.h may break the
build on non-Linux systems.
2007-04-25 17:34:45 -07:00
Ian Romanick
c800c2529f
Remove DSTN / FSTN cruft.
...
The DSTN / FSTN stuff appears to have only been necessary on old SiS
(550?) chips. Remove it.
2007-04-25 17:30:38 -07:00
Ian Romanick
6c4e70ad97
Remove some incorrect comments from XGIRestore.
2007-04-25 17:17:25 -07:00
Ian Romanick
1678c9767f
Various trivial clean ups.
2007-04-25 17:13:01 -07:00
Ian Romanick
9a1bacf9bc
Remove deprecated VESA option and associated cruft.
2007-04-25 16:11:16 -07:00
Ian Romanick
76edd9388f
Replace initdef.h with vb_def.h.
...
Replace all occurances of initdef.h with vb_def.h. Delete initdef.c.
2007-04-25 15:14:02 -07:00
Ian Romanick
37f47ccf83
Clean up some printf format related warnings.
2007-04-25 15:10:17 -07:00
Ian Romanick
b14996e7ee
Sync vb_def.h with initdef.h
...
Copy some missing values from initdef.h. Update some comments, and
rearrange defines a bit.
This is step 2 in the eventual removal of initdef.h.
2007-04-25 15:01:33 -07:00
Ian Romanick
e041b8b1df
Synchronize initdef.h with vb_def.h.
...
Remove unused defines from initdef.h. Change the names of defines
that differ from the names in vb_def.h. Tweak comments, etc.
This file is going to be removed soon. All uses of it will be
replaced with vb_def.h. This is just the first step.
2007-04-25 14:09:33 -07:00
Ian Romanick
fe49bac087
Clean up unused variable.
2007-04-25 13:53:16 -07:00
Ian Romanick
b06de7bd9c
Removed unused local variables.
2007-04-25 13:41:33 -07:00
Ian Romanick
619120b75a
Clean up Volari_Idle
...
This macro will eventually need some more house cleaning. Given it's
length, it should be made into a function.
2007-04-25 13:33:09 -07:00
Ian Romanick
2d193086ee
Remove extraneous curly braces, re-indent.
2007-04-24 10:50:26 -07:00
Ian Romanick
6d380460f7
Remove commented-out segment register (!) helper functions.
2007-04-24 10:36:20 -07:00
Ian Romanick
42cc6de9d4
Remove prototypes for nonexistant functions.
2007-04-24 10:28:10 -07:00
Ian Romanick
ef90cd1718
Remove unused function XGIBridgeIsInSlaveMode.
2007-04-24 10:15:25 -07:00
Ian Romanick
6197de2ffa
Remove unused function XGISwitchCRT1Status.
2007-04-24 10:13:29 -07:00
Ian Romanick
801df8fde3
Remove static prototype for nonexistant function XGISwithCRT2Type.
2007-04-24 10:11:18 -07:00
Ian Romanick
bce784ad42
Removed unused function XGI_CheckCalcModeIndex.
2007-04-24 10:10:03 -07:00
Ian Romanick
8d5223f2c0
Silence warnings about unused variables.
2007-04-24 10:04:49 -07:00
Ian Romanick
3f1cb1afc1
Remove commented-out function XGISpecialRestore.
2007-04-24 10:01:18 -07:00
Ian Romanick
728a07d762
Remove unused XGISavePrevMode and XGIRestorePrevMode functions.
2007-04-24 10:00:31 -07:00
Ian Romanick
ba2dcf0006
Clean up warnings about unused debug functions.
2007-04-24 09:57:41 -07:00
Ian Romanick
13600ac9e7
Clean up unnecessary cruft.
2007-04-24 09:49:17 -07:00
Ian Romanick
5074da885c
Replace (In|Out)Port(Byte|Word|Long) with (in|out)[bwl]
2007-04-24 09:38:14 -07:00
Ian Romanick
5ad664ac76
Define empty version of Newdebugcode when DEBUG is not defined.
2007-04-24 09:36:08 -07:00
Ian Romanick
7f0b6aef0e
Make all tap 4 timing data const.
2007-04-17 17:15:10 -07:00
Ian Romanick
1e122e95c1
Remove unused variables to silence warnings with -Wall.
2007-04-17 16:57:52 -07:00
Ian Romanick
f55e35a007
Mark local pointer variables const to silence warnings.
2007-04-17 16:53:52 -07:00
Ian Romanick
01d92f4d0e
Remove extraneous pointer type casts.
2007-04-17 16:53:13 -07:00
Ian Romanick
f282a80550
Remove unused tables. Mark remaining tables as 'static const' or 'static'.
2007-04-17 16:50:31 -07:00
Ian Romanick
dbd0dc26bb
Move prototypes from init.h to xgi.h to slience warnings.
...
The prototypes were moved because init.h contains data (for the win),
so it cannot be included in any .c files except init.c.
2007-04-17 16:31:50 -07:00
Ian Romanick
d14607208a
Clean up XGI_GetVCLKLen and XGI_GetLCDVCLKPtr.
2007-04-17 15:32:36 -07:00
Ian Romanick
3744ae85c2
Clean up XGI_GetVCLKPtr.
2007-04-17 15:14:06 -07:00
Ian Romanick
74f1114331
Clean up XGI_GetVCLK2Ptr.
2007-04-17 14:55:55 -07:00
Ian Romanick
f97a87817a
indent -sc -nut -br -sai -saf -saw -cdw -i4 -cli0 -npcs
2007-04-17 14:12:36 -07:00
Ian Romanick
09db271dd7
Delete some extraneous { and } left from previous code deletions.
2007-04-17 14:04:52 -07:00
Ian Romanick
9bc30f73a3
Replace XGI_LongWait with XGI_WaitEndRetrace.
2007-04-17 13:34:24 -07:00
Ian Romanick
20332b5c64
Initialize pVBIofo->RelIO.
2007-04-17 13:27:51 -07:00
Ian Romanick
68d25d4b5e
Eliminate redundant structure field Set_VGAType.
...
Eliminates the redundant structure field Set_VGAType and the
surrounding infrastructure. This includes the elimination of the old,
pre-XGI VGA types. Instead of redundantly checking Set_VGAType and
HwDeviceExtension->jChipType, just check the later.
2007-04-17 13:21:48 -07:00
Ian Romanick
2c5a1fe3c4
Refactor code that initializes VB_DEFICE_INFO structures.
...
Refactor code the various bits of code that initialize VB_DEFICE_INFO
structures to just call XGINew_InitVBIOSData.
2007-04-13 16:20:35 -07:00
Ian Romanick
4f5ce32b7e
Convert XGI_Wait(Begin|End)Retrace to take a pointer to RelIO instead of pScrn.
2007-04-12 16:08:56 -07:00
Ian Romanick
7ed155e68f
More vblank-wait related cleaning.
...
Move XGIWaitRetraceCRT1 to xgi_dac.c. Rename it and
vWaitCRT1VerticalRetrace to XGI_WaitBeginRetrace and XGI_WaitEndRetrace,
repsectively. Fix comment for XGI_WaitDisplay.
2007-04-12 16:00:36 -07:00