diff options
author | Richard Knutsson <ricknu-0@student.ltu.se> | 2007-02-12 03:55:06 -0500 |
---|---|---|
committer | Linus Torvalds <torvalds@woody.linux-foundation.org> | 2007-02-12 12:48:42 -0500 |
commit | c30660ead2dd6ced47ac6ad4c099fb9305263ffb (patch) | |
tree | b85e8c6db87e0627924568ac6ad2b5d71965bcfb /drivers/video/sis/vstruct.h | |
parent | 3aebbd8f92ef1aa3048800b4991db60403b85964 (diff) |
[PATCH] drivers/video/sis: Convert to generic boolean
Convert:
FALSE -> false
TRUE -> true
BOOLEAN -> bool
Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Cc: Thomas Hellstrom <thomas@tungstengraphics.com>
Cc: James Simmons <jsimmons@infradead.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'drivers/video/sis/vstruct.h')
-rw-r--r-- | drivers/video/sis/vstruct.h | 44 |
1 files changed, 22 insertions, 22 deletions
diff --git a/drivers/video/sis/vstruct.h b/drivers/video/sis/vstruct.h index 9ae32923c142..705c85360526 100644 --- a/drivers/video/sis/vstruct.h +++ b/drivers/video/sis/vstruct.h | |||
@@ -240,7 +240,7 @@ struct SiS_Private | |||
240 | void *ivideo; | 240 | void *ivideo; |
241 | #endif | 241 | #endif |
242 | unsigned char *VirtualRomBase; | 242 | unsigned char *VirtualRomBase; |
243 | BOOLEAN UseROM; | 243 | bool UseROM; |
244 | #ifdef SIS_LINUX_KERNEL | 244 | #ifdef SIS_LINUX_KERNEL |
245 | unsigned char SISIOMEMTYPE *VideoMemoryAddress; | 245 | unsigned char SISIOMEMTYPE *VideoMemoryAddress; |
246 | unsigned int VideoMemorySize; | 246 | unsigned int VideoMemorySize; |
@@ -283,24 +283,24 @@ struct SiS_Private | |||
283 | #ifdef SIS_XORG_XF86 | 283 | #ifdef SIS_XORG_XF86 |
284 | unsigned short SiS_CP1, SiS_CP2, SiS_CP3, SiS_CP4; | 284 | unsigned short SiS_CP1, SiS_CP2, SiS_CP3, SiS_CP4; |
285 | #endif | 285 | #endif |
286 | BOOLEAN SiS_UseROM; | 286 | bool SiS_UseROM; |
287 | BOOLEAN SiS_ROMNew; | 287 | bool SiS_ROMNew; |
288 | BOOLEAN SiS_XGIROM; | 288 | bool SiS_XGIROM; |
289 | BOOLEAN SiS_NeedRomModeData; | 289 | bool SiS_NeedRomModeData; |
290 | BOOLEAN PanelSelfDetected; | 290 | bool PanelSelfDetected; |
291 | BOOLEAN DDCPortMixup; | 291 | bool DDCPortMixup; |
292 | int SiS_CHOverScan; | 292 | int SiS_CHOverScan; |
293 | BOOLEAN SiS_CHSOverScan; | 293 | bool SiS_CHSOverScan; |
294 | BOOLEAN SiS_ChSW; | 294 | bool SiS_ChSW; |
295 | BOOLEAN SiS_UseLCDA; | 295 | bool SiS_UseLCDA; |
296 | int SiS_UseOEM; | 296 | int SiS_UseOEM; |
297 | unsigned int SiS_CustomT; | 297 | unsigned int SiS_CustomT; |
298 | int SiS_UseWide, SiS_UseWideCRT2; | 298 | int SiS_UseWide, SiS_UseWideCRT2; |
299 | int SiS_TVBlue; | 299 | int SiS_TVBlue; |
300 | unsigned short SiS_Backup70xx; | 300 | unsigned short SiS_Backup70xx; |
301 | BOOLEAN HaveEMI; | 301 | bool HaveEMI; |
302 | BOOLEAN HaveEMILCD; | 302 | bool HaveEMILCD; |
303 | BOOLEAN OverruleEMI; | 303 | bool OverruleEMI; |
304 | unsigned char EMI_30,EMI_31,EMI_32,EMI_33; | 304 | unsigned char EMI_30,EMI_31,EMI_32,EMI_33; |
305 | unsigned short SiS_EMIOffset; | 305 | unsigned short SiS_EMIOffset; |
306 | unsigned short SiS_PWDOffset; | 306 | unsigned short SiS_PWDOffset; |
@@ -352,7 +352,7 @@ struct SiS_Private | |||
352 | unsigned short SiS_DDC_ReadAddr; | 352 | unsigned short SiS_DDC_ReadAddr; |
353 | unsigned short SiS_DDC_SecAddr; | 353 | unsigned short SiS_DDC_SecAddr; |
354 | unsigned short SiS_ChrontelInit; | 354 | unsigned short SiS_ChrontelInit; |
355 | BOOLEAN SiS_SensibleSR11; | 355 | bool SiS_SensibleSR11; |
356 | unsigned short SiS661LCD2TableSize; | 356 | unsigned short SiS661LCD2TableSize; |
357 | 357 | ||
358 | unsigned short SiS_PanelMinLVDS; | 358 | unsigned short SiS_PanelMinLVDS; |
@@ -494,10 +494,10 @@ struct SiS_Private | |||
494 | unsigned short PanelVRS, PanelVRE; | 494 | unsigned short PanelVRS, PanelVRE; |
495 | unsigned short PanelVCLKIdx300; | 495 | unsigned short PanelVCLKIdx300; |
496 | unsigned short PanelVCLKIdx315; | 496 | unsigned short PanelVCLKIdx315; |
497 | BOOLEAN Alternate1600x1200; | 497 | bool Alternate1600x1200; |
498 | 498 | ||
499 | BOOLEAN UseCustomMode; | 499 | bool UseCustomMode; |
500 | BOOLEAN CRT1UsesCustomMode; | 500 | bool CRT1UsesCustomMode; |
501 | unsigned short CHDisplay; | 501 | unsigned short CHDisplay; |
502 | unsigned short CHSyncStart; | 502 | unsigned short CHSyncStart; |
503 | unsigned short CHSyncEnd; | 503 | unsigned short CHSyncEnd; |
@@ -523,7 +523,7 @@ struct SiS_Private | |||
523 | 523 | ||
524 | int LVDSHL; | 524 | int LVDSHL; |
525 | 525 | ||
526 | BOOLEAN Backup; | 526 | bool Backup; |
527 | unsigned char Backup_Mode; | 527 | unsigned char Backup_Mode; |
528 | unsigned char Backup_14; | 528 | unsigned char Backup_14; |
529 | unsigned char Backup_15; | 529 | unsigned char Backup_15; |
@@ -542,12 +542,12 @@ struct SiS_Private | |||
542 | int CenterScreen; | 542 | int CenterScreen; |
543 | 543 | ||
544 | unsigned short CP_Vendor, CP_Product; | 544 | unsigned short CP_Vendor, CP_Product; |
545 | BOOLEAN CP_HaveCustomData; | 545 | bool CP_HaveCustomData; |
546 | int CP_PreferredX, CP_PreferredY, CP_PreferredIndex; | 546 | int CP_PreferredX, CP_PreferredY, CP_PreferredIndex; |
547 | int CP_MaxX, CP_MaxY, CP_MaxClock; | 547 | int CP_MaxX, CP_MaxY, CP_MaxClock; |
548 | unsigned char CP_PrefSR2B, CP_PrefSR2C; | 548 | unsigned char CP_PrefSR2B, CP_PrefSR2C; |
549 | unsigned short CP_PrefClock; | 549 | unsigned short CP_PrefClock; |
550 | BOOLEAN CP_Supports64048075; | 550 | bool CP_Supports64048075; |
551 | int CP_HDisplay[7], CP_VDisplay[7]; /* For Custom LCD panel dimensions */ | 551 | int CP_HDisplay[7], CP_VDisplay[7]; /* For Custom LCD panel dimensions */ |
552 | int CP_HTotal[7], CP_VTotal[7]; | 552 | int CP_HTotal[7], CP_VTotal[7]; |
553 | int CP_HSyncStart[7], CP_VSyncStart[7]; | 553 | int CP_HSyncStart[7], CP_VSyncStart[7]; |
@@ -555,8 +555,8 @@ struct SiS_Private | |||
555 | int CP_HBlankStart[7], CP_VBlankStart[7]; | 555 | int CP_HBlankStart[7], CP_VBlankStart[7]; |
556 | int CP_HBlankEnd[7], CP_VBlankEnd[7]; | 556 | int CP_HBlankEnd[7], CP_VBlankEnd[7]; |
557 | int CP_Clock[7]; | 557 | int CP_Clock[7]; |
558 | BOOLEAN CP_DataValid[7]; | 558 | bool CP_DataValid[7]; |
559 | BOOLEAN CP_HSync_P[7], CP_VSync_P[7], CP_SyncValid[7]; | 559 | bool CP_HSync_P[7], CP_VSync_P[7], CP_SyncValid[7]; |
560 | }; | 560 | }; |
561 | 561 | ||
562 | #endif | 562 | #endif |