mirror of
https://github.com/X11Libre/xf86-video-s3virge.git
synced 2026-03-24 01:24:29 +00:00
Fix -Wmisleading-indentation warnings in regs3v.h
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
This commit is contained in:
@@ -267,14 +267,14 @@ in this Software without prior written authorization from the XFree86 Project.
|
||||
(loop++<MAXLOOP)); \
|
||||
else \
|
||||
while (((IN_SUBSYS_STAT() & 0x3f00) != 0x3000) && (loop++<MAXLOOP)); \
|
||||
if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
|
||||
if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
|
||||
} while (0)
|
||||
|
||||
/* Wait until GP is idle */
|
||||
#define WaitIdle() \
|
||||
do { int loop=0; mem_barrier(); \
|
||||
while ((!(IN_SUBSYS_STAT() & 0x2000)) && (loop++<MAXLOOP)); \
|
||||
if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
|
||||
if (loop >= MAXLOOP) S3VGEReset(pScrn,1,__LINE__,__FILE__); \
|
||||
} while (0)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user