diff options
author | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-02 18:16:41 -0300 |
---|---|---|
committer | Paulo Cesar Pereira de Andrade <pcpa@mandriva.com.br> | 2008-09-02 18:16:41 -0300 |
commit | cf5132907e4709c872089fe2d79837b2de4e45b7 (patch) | |
tree | bc906cb4c35a838e7a9c8bb76d9f01b0e7c04f39 /src/smi_accel.c | |
parent | a2a090e10f031aed6dbf6d143d6ce8abdf7a2392 (diff) |
Rename global smi501 functions to have SMI501 prefix.
Functions renamed were setDPMS -> SMI501_SetDPMS,
regRead32 -> SMI501_Read32 and regWrite32 -> SMI501_Write32.
Also moved SMI_SetDPMS to start of smi_501.c to have extern
functions at start of the file.
Diffstat (limited to 'src/smi_accel.c')
-rw-r--r-- | src/smi_accel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/smi_accel.c b/src/smi_accel.c index 6e66677..f894eff 100644 --- a/src/smi_accel.c +++ b/src/smi_accel.c @@ -83,7 +83,7 @@ SMI_AccelSync(ScrnInfoPtr pScrn) int i, dwVal; for (i = 0x1000000; i > 0; i--) { - dwVal = regRead32(pSmi, CMD_INTPR_STATUS); + dwVal = SMI501_Read32(pSmi, CMD_INTPR_STATUS); if (FIELD_GET(dwVal, CMD_INTPR_STATUS, 2D_ENGINE) == CMD_INTPR_STATUS_2D_ENGINE_IDLE && FIELD_GET(dwVal, CMD_INTPR_STATUS, |