summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-17 15:25:05 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-17 15:25:05 -0800
commitb90cfb94d68f156767d0eec818c9a2aab487422e (patch)
tree0617c394e18d15f708073ccdaac9bc519fbb2774 /src
parent0b9cdc95944ba99c9ccd839b68e402915a68be60 (diff)
Fix spelling/wording issues
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src')
-rw-r--r--src/ast_cursor.c2
-rw-r--r--src/ast_driver.c6
-rw-r--r--src/ast_mode.h2
3 files changed, 5 insertions, 5 deletions
diff --git a/src/ast_cursor.c b/src/ast_cursor.c
index 5031aac..55bf208 100644
--- a/src/ast_cursor.c
+++ b/src/ast_cursor.c
@@ -440,7 +440,7 @@ ASTFireCursor(ScrnInfoPtr pScrn)
{
ASTRecPtr pAST = ASTPTR(pScrn);
- SetIndexRegMask(CRTC_PORT, 0xCB, 0xFF, 0x00); /* dummp write to fire HWC */
+ SetIndexRegMask(CRTC_PORT, 0xCB, 0xFF, 0x00); /* dummy write to fire HWC */
}
diff --git a/src/ast_driver.c b/src/ast_driver.c
index 120b94c..57a859c 100644
--- a/src/ast_driver.c
+++ b/src/ast_driver.c
@@ -387,7 +387,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
MessageType from;
int maxPitch, maxHeight;
- /* Suport one adapter only now */
+ /* Support one adapter only now */
if (pScrn->numEntities != 1)
return FALSE;
@@ -705,7 +705,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
pScrn->display->virtualX, pScrn->display->virtualY,
pAST->FbMapSize, LOOKUP_BEST_REFRESH);
- /* fixed some monitors can't get propery validate modes using estimated ratio modes */
+ /* fixed some monitors can't get properly validated modes using estimated ratio modes */
if (i < 2) /* validate modes are too few */
{
i = xf86ValidateModes(pScrn, pScrn->monitor->Modes,
@@ -737,7 +737,7 @@ ASTPreInit(ScrnInfoPtr pScrn, int flags)
xf86SetDpi(pScrn, 0, 0);
- /* Accelaration Check */
+ /* Acceleration Check */
pAST->noAccel = TRUE;
pAST->pCMDQPtr = NULL;
pAST->CMDQInfo.ulCMDQSize = 0;
diff --git a/src/ast_mode.h b/src/ast_mode.h
index 68b7581..a054100 100644
--- a/src/ast_mode.h
+++ b/src/ast_mode.h
@@ -85,7 +85,7 @@
#define DAC_NUM_EGA 64
#define DAC_NUM_VGA 256
-/* Data Structure decalration for internal use */
+/* Data Structure declaration for internal use */
typedef struct {
UCHAR MISC;