Commit bf4fc6ac authored by Bill Pemberton's avatar Bill Pemberton Committed by Greg Kroah-Hartman

Staging: xgifb: Remove code for WIN2000

Signed-off-by: default avatarBill Pemberton <wfp5p@virginia.edu>
Cc: Arnaud Patard <apatard@mandriva.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 23aada9c
...@@ -2,7 +2,6 @@ ...@@ -2,7 +2,6 @@
#define _OSDEF_H_ #define _OSDEF_H_
/* #define WINCE_HEADER*/ /* #define WINCE_HEADER*/
/*#define WIN2000*/
/* #define TC */ /* #define TC */
#define LINUX_KERNEL #define LINUX_KERNEL
/* #define LINUX_XF86 */ /* #define LINUX_XF86 */
...@@ -16,8 +15,6 @@ ...@@ -16,8 +15,6 @@
/**********************************************************************/ /**********************************************************************/
#ifdef TC #ifdef TC
#endif #endif
#ifdef WIN2000
#endif
#ifdef WINCE_HEADER #ifdef WINCE_HEADER
#endif #endif
#ifdef LINUX_XF86 #ifdef LINUX_XF86
...@@ -31,9 +28,6 @@ ...@@ -31,9 +28,6 @@
#ifdef TC #ifdef TC
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize); #define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif #endif
#ifdef WIN2000
#define XGI_SetMemory(MemoryAddress,MemorySize,value) MemFill((PVOID) MemoryAddress,(ULONG) MemorySize,(UCHAR) value);
#endif
#ifdef WINCE_HEADER #ifdef WINCE_HEADER
#define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize); #define XGI_SetMemory(MemoryAddress,MemorySize,value) memset(MemoryAddress, value, MemorySize);
#endif #endif
...@@ -50,9 +44,6 @@ ...@@ -50,9 +44,6 @@
#ifdef TC #ifdef TC
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length); #define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif #endif
#ifdef WIN2000
#define XGI_MemoryCopy(Destination,Soruce,Length) /*VideoPortMoveMemory((PUCHAR)Destination , Soruce,length);*/
#endif
#ifdef WINCE_HEADER #ifdef WINCE_HEADER
#define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length); #define XGI_MemoryCopy(Destination,Soruce,Length) memmove(Destination, Soruce, Length);
#endif #endif
...@@ -128,14 +119,6 @@ ...@@ -128,14 +119,6 @@
/* WIN 2000 */ /* WIN 2000 */
/**********************************************************************/ /**********************************************************************/
#ifdef WIN2000
#define OutPortByte(p,v) VideoPortWritePortUchar ((PUCHAR) (p), (UCHAR) (v))
#define OutPortWord(p,v) VideoPortWritePortUshort((PUSHORT) (p), (USHORT) (v))
#define OutPortLong(p,v) VideoPortWritePortUlong ((PULONG) (p), (ULONG) (v))
#define InPortByte(p) VideoPortReadPortUchar ((PUCHAR) (p))
#define InPortWord(p) VideoPortReadPortUshort ((PUSHORT) (p))
#define InPortLong(p) VideoPortReadPortUlong ((PULONG) (p))
#endif
/**********************************************************************/ /**********************************************************************/
......
This diff is collapsed.
...@@ -25,8 +25,5 @@ extern void XGI_GetSenseStatus( PXGI_HW_DEVICE_INFO HwDeviceExtension , PV ...@@ -25,8 +25,5 @@ extern void XGI_GetSenseStatus( PXGI_HW_DEVICE_INFO HwDeviceExtension , PV
extern void XGINew_SetModeScratch ( PXGI_HW_DEVICE_INFO HwDeviceExtension , PVB_DEVICE_INFO pVBInfo ) ; extern void XGINew_SetModeScratch ( PXGI_HW_DEVICE_INFO HwDeviceExtension , PVB_DEVICE_INFO pVBInfo ) ;
extern void ReadVBIOSTablData( UCHAR ChipType , PVB_DEVICE_INFO pVBInfo); extern void ReadVBIOSTablData( UCHAR ChipType , PVB_DEVICE_INFO pVBInfo);
extern USHORT XGINew_SenseLCD(PXGI_HW_DEVICE_INFO,PVB_DEVICE_INFO pVBInfo); extern USHORT XGINew_SenseLCD(PXGI_HW_DEVICE_INFO,PVB_DEVICE_INFO pVBInfo);
#ifdef WIN2000
extern BOOLEAN XGI_DySense( PHW_DEVICE_EXTENSION pHWDE , PUCHAR ujConnectStatus );
#endif /* WIN2000 */
#endif #endif
...@@ -14,16 +14,6 @@ ...@@ -14,16 +14,6 @@
#endif */ #endif */
#endif #endif
#ifdef WIN2000
#include <dderror.h>
#include <devioctl.h>
#include <miniport.h>
#include <ntddvdeo.h>
#include <video.h>
#include "xgiv.h"
#include "dd_i2c.h"
#include "tools.h"
#endif
#include "vb_def.h" #include "vb_def.h"
#include "vb_struct.h" #include "vb_struct.h"
...@@ -136,11 +126,6 @@ UCHAR GetXG21FPBits(PVB_DEVICE_INFO pVBInfo); ...@@ -136,11 +126,6 @@ UCHAR GetXG21FPBits(PVB_DEVICE_INFO pVBInfo);
void XGINew_GetXG27Sense(PXGI_HW_DEVICE_INFO HwDeviceExtension, PVB_DEVICE_INFO pVBInfo) ; void XGINew_GetXG27Sense(PXGI_HW_DEVICE_INFO HwDeviceExtension, PVB_DEVICE_INFO pVBInfo) ;
UCHAR GetXG27FPBits(PVB_DEVICE_INFO pVBInfo); UCHAR GetXG27FPBits(PVB_DEVICE_INFO pVBInfo);
#ifdef WIN2000
/* [Billy] 2007/05/20 For CH7007 */
extern UCHAR CH7007TVReg_UNTSC[][8],CH7007TVReg_ONTSC[][8],CH7007TVReg_UPAL[][8],CH7007TVReg_OPAL[][8];
extern UCHAR XGI7007_CHTVVCLKUNTSC[],XGI7007_CHTVVCLKONTSC[],XGI7007_CHTVVCLKUPAL[],XGI7007_CHTVVCLKOPAL[];
#endif
#ifdef LINUX_KERNEL #ifdef LINUX_KERNEL
void DelayUS(ULONG MicroSeconds) void DelayUS(ULONG MicroSeconds)
...@@ -1878,9 +1863,6 @@ int XGINew_CheckColumn( int index , USHORT DRAMTYPE_TABLE[][ 5 ], PVB_DEVICE_INF ...@@ -1878,9 +1863,6 @@ int XGINew_CheckColumn( int index , USHORT DRAMTYPE_TABLE[][ 5 ], PVB_DEVICE_INF
Position += Increment ; Position += Increment ;
} }
#ifdef WIN2000 /* chiawen for linux solution */
DelayUS( 100 ) ;
#endif
for( i = 0 , Position = 0 ; i < 2 ; i++ ) for( i = 0 , Position = 0 ; i < 2 ; i++ )
{ {
...@@ -3332,16 +3314,6 @@ void XGINew_GetXG21Sense(PXGI_HW_DEVICE_INFO HwDeviceExtension, PVB_DEVICE_INFO ...@@ -3332,16 +3314,6 @@ void XGINew_GetXG21Sense(PXGI_HW_DEVICE_INFO HwDeviceExtension, PVB_DEVICE_INFO
pVBInfo->IF_DEF_LVDS = 0 ; pVBInfo->IF_DEF_LVDS = 0 ;
#ifdef WIN2000
pVBInfo->IF_DEF_CH7007 = 0 ;
if ( ( pVideoMemory[ 0x65 ] & 0x02 ) ) /* For XG21 CH7007 */
{
/* VideoDebugPrint((0, "ReadVBIOSTablData: pVideoMemory[ 0x65 ] =%x\n",pVideoMemory[ 0x65 ])); */
pVBInfo->IF_DEF_CH7007 = 1 ; /* [Billy] 07/05/03 */
XGINew_SetRegANDOR( pVBInfo->P3d4 , 0x38 , ~0xE0 , 0x60 ) ; /* CH7007 on chip */
}
else
#endif
#if 1 #if 1
if (( pVideoMemory[ 0x65 ] & 0x01 ) ) /* For XG21 LVDS */ if (( pVideoMemory[ 0x65 ] & 0x01 ) ) /* For XG21 LVDS */
{ {
......
...@@ -22,17 +22,6 @@ ...@@ -22,17 +22,6 @@
#include "XGIfb.h" #include "XGIfb.h"
#endif #endif
#ifdef WIN2000
#include <dderror.h>
#include <devioctl.h>
#include <miniport.h>
#include <ntddvdeo.h>
#include <video.h>
#include "xgiv.h"
#include "dd_i2c.h"
#include "tools.h"
#endif
#include "vb_def.h" #include "vb_def.h"
#include "vgatypes.h" #include "vgatypes.h"
...@@ -179,19 +168,6 @@ void XGI_SetXG27LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO p ...@@ -179,19 +168,6 @@ void XGI_SetXG27LVDSPara(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO p
UCHAR XGI_SetDefaultVCLK( PVB_DEVICE_INFO pVBInfo ); UCHAR XGI_SetDefaultVCLK( PVB_DEVICE_INFO pVBInfo );
extern void ReadVBIOSTablData( UCHAR ChipType , PVB_DEVICE_INFO pVBInfo); extern void ReadVBIOSTablData( UCHAR ChipType , PVB_DEVICE_INFO pVBInfo);
#ifdef WIN2000
/* [Billy] 2007/05/17 For CH7007 */
extern UCHAR CH7007TVReg_UNTSC[][8],CH7007TVReg_ONTSC[][8],CH7007TVReg_UPAL[][8],CH7007TVReg_OPAL[][8];
extern UCHAR CH7007TVCRT1UNTSC_H[][10],CH7007TVCRT1ONTSC_H[][10],CH7007TVCRT1UPAL_H[][10],CH7007TVCRT1OPAL_H[][10] ;
extern UCHAR CH7007TVCRT1UNTSC_V[][10],CH7007TVCRT1ONTSC_V[][10],CH7007TVCRT1UPAL_V[][10],CH7007TVCRT1OPAL_V[][10] ;
extern UCHAR XGI7007_CHTVVCLKUNTSC[],XGI7007_CHTVVCLKONTSC[],XGI7007_CHTVVCLKUPAL[],XGI7007_CHTVVCLKOPAL[];
extern BOOLEAN XGI_XG21CheckCH7007TVMode(USHORT ModeNo,USHORT ModeIdIndex, PVB_DEVICE_INFO pVBInfo ) ;
extern void SetCH7007Regs(PXGI_HW_DEVICE_INFO HwDeviceExtension, USHORT ModeNo, USHORT ModeIdIndex, USHORT RefreshRateTableIndex, PVB_DEVICE_INFO pVBInfo ) ;
extern VP_STATUS TurnOnCH7007(PHW_DEVICE_EXTENSION pHWDE) ;
extern VP_STATUS TurnOffCH7007(PHW_DEVICE_EXTENSION pHWDE) ;
extern BOOLEAN IsCH7007TVMode(PVB_DEVICE_INFO pVBInfo) ;
#endif
/* USHORT XGINew_flag_clearbuffer; 0: no clear frame buffer 1:clear frame buffer */ /* USHORT XGINew_flag_clearbuffer; 0: no clear frame buffer 1:clear frame buffer */
...@@ -480,9 +456,6 @@ BOOLEAN XGISetModeNew( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo ) ...@@ -480,9 +456,6 @@ BOOLEAN XGISetModeNew( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo )
XGI_GetVBType( pVBInfo ) ; XGI_GetVBType( pVBInfo ) ;
InitTo330Pointer( HwDeviceExtension->jChipType, pVBInfo ) ; InitTo330Pointer( HwDeviceExtension->jChipType, pVBInfo ) ;
#ifdef WIN2000
ReadVBIOSTablData( HwDeviceExtension->jChipType , pVBInfo) ;
#endif
if ( ModeNo & 0x80 ) if ( ModeNo & 0x80 )
{ {
ModeNo = ModeNo & 0x7F ; ModeNo = ModeNo & 0x7F ;
...@@ -555,21 +528,6 @@ BOOLEAN XGISetModeNew( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo ) ...@@ -555,21 +528,6 @@ BOOLEAN XGISetModeNew( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo )
} /* !XG20 */ } /* !XG20 */
else else
{ {
#ifdef WIN2000
if ( pVBInfo->IF_DEF_CH7007 == 1 )
{
VideoDebugPrint((0, "XGISetModeNew: pVBIfo->IF_DEF_CH7007==1\n"));
pVBInfo->VBType = VB_CH7007 ;
XGI_GetVBInfo(ModeNo , ModeIdIndex , HwDeviceExtension, pVBInfo ) ;
XGI_GetTVInfo(ModeNo , ModeIdIndex, pVBInfo ) ;
XGI_GetLCDInfo(ModeNo , ModeIdIndex, pVBInfo ) ;
if( !(XGI_XG21CheckCH7007TVMode(ModeNo, ModeIdIndex, pVBInfo )) )
{
return FALSE;
}
}
#endif
if ( pVBInfo->IF_DEF_LVDS == 1 ) if ( pVBInfo->IF_DEF_LVDS == 1 )
...@@ -758,13 +716,6 @@ void XGI_SetCRT1Group( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo , U ...@@ -758,13 +716,6 @@ void XGI_SetCRT1Group( PXGI_HW_DEVICE_INFO HwDeviceExtension , USHORT ModeNo , U
XGI_LoadDAC( ModeNo , ModeIdIndex, pVBInfo ) ; XGI_LoadDAC( ModeNo , ModeIdIndex, pVBInfo ) ;
/* XGI_ClearBuffer( HwDeviceExtension , ModeNo, pVBInfo ) ; */ /* XGI_ClearBuffer( HwDeviceExtension , ModeNo, pVBInfo ) ; */
#ifdef WIN2000
if ( pVBInfo->IF_DEF_CH7007 == 1 ) /* [Billy] 2007/05/14 */
{
VideoDebugPrint((0, "XGI_SetCRT1Group: VBInfo->IF_DEF_CH7007==1\n"));
SetCH7007Regs(HwDeviceExtension, ModeNo, ModeIdIndex, RefreshRateTableIndex, pVBInfo ) ; /* 07/05/28 */
}
#endif
} }
...@@ -4097,41 +4048,6 @@ BOOLEAN XGI_SearchModeID( USHORT ModeNo , USHORT *ModeIdIndex, PVB_DEVICE_INFO p ...@@ -4097,41 +4048,6 @@ BOOLEAN XGI_SearchModeID( USHORT ModeNo , USHORT *ModeIdIndex, PVB_DEVICE_INFO p
#endif #endif
#ifdef WIN2000
if ( ModeNo <= 5 )
ModeNo |= 1 ;
if ( ModeNo <= 0x13 )
{
/* for (*ModeIdIndex=0;*ModeIdIndex<sizeof(pVBInfo->SModeIDTable)/sizeof(XGI_StStruct);(*ModeIdIndex)++) */
for( *ModeIdIndex = 0 ; ; ( *ModeIdIndex )++ )
{
if ( pVBInfo->SModeIDTable[ *ModeIdIndex ].St_ModeID == ModeNo )
break ;
if ( pVBInfo->SModeIDTable[ *ModeIdIndex ].St_ModeID == 0xFF )
return( FALSE ) ;
}
if ( ModeNo == 0x07 )
( *ModeIdIndex )++ ; /* 400 lines */
if ( ModeNo <=3 )
( *ModeIdIndex ) += 2 ; /* 400 lines */
/* else 350 lines */
}
else
{
/* for (*ModeIdIndex=0;*ModeIdIndex<sizeof(pVBInfo->EModeIDTable)/sizeof(XGI_ExtStruct);(*ModeIdIndex)++) */
for( *ModeIdIndex = 0 ; ; ( *ModeIdIndex )++ )
{
if ( pVBInfo->EModeIDTable[ *ModeIdIndex ].Ext_ModeID == ModeNo )
break ;
if ( pVBInfo->EModeIDTable[ *ModeIdIndex ].Ext_ModeID == 0xFF )
return( FALSE ) ;
}
}
#endif
#ifdef LINUX /* chiawen for linux solution */ #ifdef LINUX /* chiawen for linux solution */
...@@ -4326,12 +4242,6 @@ void XGI_DisplayOn( PXGI_HW_DEVICE_INFO pXGIHWDE , PVB_DEVICE_INFO pVBInfo ) ...@@ -4326,12 +4242,6 @@ void XGI_DisplayOn( PXGI_HW_DEVICE_INFO pXGIHWDE , PVB_DEVICE_INFO pVBInfo )
if (pVBInfo->IF_DEF_CH7007 == 1) /* [Billy] 07/05/23 For CH7007 */ if (pVBInfo->IF_DEF_CH7007 == 1) /* [Billy] 07/05/23 For CH7007 */
{ {
#ifdef WIN2000
if ( IsCH7007TVMode( pVBInfo ) )
{
TurnOnCH7007(pXGIHWDE->pDevice) ; /* 07/05/28 */
}
#endif
} }
...@@ -4387,9 +4297,6 @@ void XGI_DisplayOff( PXGI_HW_DEVICE_INFO pXGIHWDE , PVB_DEVICE_INFO pVBInfo ) ...@@ -4387,9 +4297,6 @@ void XGI_DisplayOff( PXGI_HW_DEVICE_INFO pXGIHWDE , PVB_DEVICE_INFO pVBInfo )
{ {
/* if( IsCH7007TVMode( pVBInfo ) == 0 ) */ /* if( IsCH7007TVMode( pVBInfo ) == 0 ) */
{ {
#ifdef WIN2000
TurnOffCH7007(pXGIHWDE->pDevice) ; /* 07/05/28 */
#endif
} }
} }
...@@ -7950,53 +7857,9 @@ void* XGI_GetTVPtr (USHORT BX,USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRat ...@@ -7950,53 +7857,9 @@ void* XGI_GetTVPtr (USHORT BX,USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRat
if ( table == 0x00 ) /* 07/05/22 */ if ( table == 0x00 ) /* 07/05/22 */
{ {
#ifdef WIN2000
if ( pVBInfo->IF_DEF_CH7007 == 1 )
{
switch( tempdi[ i ].DATAPTR )
{
case 0:
return &CH7007TVCRT1UNTSC_H[ tempal ] ;
break ;
case 1:
return &CH7007TVCRT1ONTSC_H[ tempal ] ;
break ;
case 2:
return &CH7007TVCRT1UPAL_H[ tempal ] ;
break ;
case 3:
return &CH7007TVCRT1OPAL_H[ tempal ] ;
break ;
default:
break ;
}
}
#endif
} }
else if ( table == 0x01 ) else if ( table == 0x01 )
{ {
#ifdef WIN2000
if ( pVBInfo->IF_DEF_CH7007 == 1 )
{
switch( tempdi[ i ].DATAPTR )
{
case 0:
return &CH7007TVCRT1UNTSC_V[ tempal ] ;
break ;
case 1:
return &CH7007TVCRT1ONTSC_V[ tempal ] ;
break ;
case 2:
return &CH7007TVCRT1UPAL_V[ tempal ] ;
break ;
case 3:
return &CH7007TVCRT1OPAL_V[ tempal ] ;
break ;
default:
break ;
}
}
#endif
} }
else if ( table == 0x04 ) else if ( table == 0x04 )
{ {
...@@ -8070,49 +7933,6 @@ void* XGI_GetTVPtr (USHORT BX,USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRat ...@@ -8070,49 +7933,6 @@ void* XGI_GetTVPtr (USHORT BX,USHORT ModeNo,USHORT ModeIdIndex,USHORT RefreshRat
} }
else if( table == 0x06 ) else if( table == 0x06 )
{ {
#ifdef WIN2000
if ( pVBInfo->IF_DEF_CH7007 == 1 )
{
/* VideoDebugPrint((0, "XGI_GetTVPtr: pVBInfo->IF_DEF_CH7007==1\n")); */
switch( tempdi[ i ].DATAPTR )
{
case 0:
return &CH7007TVReg_UNTSC[ tempal ] ;
break ;
case 1:
return &CH7007TVReg_ONTSC[ tempal ] ;
break ;
case 2:
return &CH7007TVReg_UPAL[ tempal ] ;
break ;
case 3:
return &CH7007TVReg_OPAL[ tempal ] ;
break ;
default:
break ;
}
}
else
{
switch( tempdi[ i ].DATAPTR )
{
case 0:
return &XGI_CHTVRegUNTSC[ tempal ] ;
break ;
case 1:
return &XGI_CHTVRegONTSC[ tempal ] ;
break ;
case 2:
return &XGI_CHTVRegUPAL[ tempal ] ;
break ;
case 3:
return &XGI_CHTVRegOPAL[ tempal ] ;
break ;
default:
break ;
}
}
#endif
} }
return( 0 ) ; return( 0 ) ;
} }
......
...@@ -16,17 +16,6 @@ ...@@ -16,17 +16,6 @@
#include <dos.h> #include <dos.h>
#endif #endif
#ifdef WIN2000
#include <dderror.h>
#include <devioctl.h>
#include <miniport.h>
#include <ntddvdeo.h>
#include <video.h>
#include "xgiv.h"
#include "dd_i2c.h"
#include "tools.h"
#endif
#ifdef LINUX_XF86 #ifdef LINUX_XF86
#include "xf86.h" #include "xf86.h"
...@@ -219,9 +208,6 @@ void XGINew_SetRegOR( ULONG Port , USHORT Index , USHORT DataOR ) ...@@ -219,9 +208,6 @@ void XGINew_SetRegOR( ULONG Port , USHORT Index , USHORT DataOR )
/* --------------------------------------------------------------------- */ /* --------------------------------------------------------------------- */
void NewDelaySeconds( int seconds ) void NewDelaySeconds( int seconds )
{ {
#ifdef WIN2000
int j ;
#endif
int i ; int i ;
...@@ -231,11 +217,6 @@ void NewDelaySeconds( int seconds ) ...@@ -231,11 +217,6 @@ void NewDelaySeconds( int seconds )
delay( 1000 ) ; delay( 1000 ) ;
#endif #endif
#ifdef WIN2000
for ( j = 0 ; j < 20000 ; j++ )
VideoPortStallExecution( 50 ) ;
#endif
#ifdef WINCE_HEADER #ifdef WINCE_HEADER
#endif #endif
......
...@@ -94,8 +94,6 @@ typedef IOADDRESS XGIIOADDRESS; ...@@ -94,8 +94,6 @@ typedef IOADDRESS XGIIOADDRESS;
#define VBIOS_VER_MAX_LENGTH 4 #define VBIOS_VER_MAX_LENGTH 4
#endif #endif
#ifndef WIN2000
#ifndef LINUX_KERNEL /* For the linux kernel, this is defined in xgifb.h */ #ifndef LINUX_KERNEL /* For the linux kernel, this is defined in xgifb.h */
#ifndef XGI_CHIP_TYPE #ifndef XGI_CHIP_TYPE
typedef enum _XGI_CHIP_TYPE { typedef enum _XGI_CHIP_TYPE {
...@@ -174,8 +172,6 @@ typedef enum _XGI_LCD_TYPE { ...@@ -174,8 +172,6 @@ typedef enum _XGI_LCD_TYPE {
} XGI_LCD_TYPE; } XGI_LCD_TYPE;
#endif #endif
#endif /* not WIN2000 */
#ifndef PXGI_DSReg #ifndef PXGI_DSReg
typedef struct _XGI_DSReg typedef struct _XGI_DSReg
{ {
...@@ -217,9 +213,6 @@ struct _XGI_HW_DEVICE_INFO ...@@ -217,9 +213,6 @@ struct _XGI_HW_DEVICE_INFO
ULONG ul2ndVideoMemorySize; ULONG ul2ndVideoMemorySize;
PUCHAR pj2ndIOAddress; PUCHAR pj2ndIOAddress;
/*#ifndef WIN2000
XGIIOADDRESS pjIOAddress; // base I/O address of VGA ports (0x3B0)
#endif */
UCHAR jChipType; /* Used to Identify Graphics Chip */ UCHAR jChipType; /* Used to Identify Graphics Chip */
/* defined in the data structure type */ /* defined in the data structure type */
/* "XGI_CHIP_TYPE" */ /* "XGI_CHIP_TYPE" */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment