summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-22 13:27:21 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-22 13:27:21 -0800
commit0829b2b6dd3c6d4cc0d521719e7b4477d6615b92 (patch)
tree646e7e36ba634db4debc29d2eb8e9d6fb09eb606
parentb7fb469943fe33782ad6addcb15770cfb99e9e94 (diff)
Fix spelling/wording issuesHEADmaster
Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--XF86Config.indy2
-rw-r--r--src/newport.h2
-rw-r--r--src/newport_accel.c2
-rw-r--r--src/newport_cursor.c2
-rw-r--r--src/newport_driver.c4
-rw-r--r--src/newport_regs.h4
6 files changed, 8 insertions, 8 deletions
diff --git a/XF86Config.indy b/XF86Config.indy
index 3a1dcc6..94d5e6a 100644
--- a/XF86Config.indy
+++ b/XF86Config.indy
@@ -191,7 +191,7 @@ Section "InputDevice"
Option "AutoRepeat" "500 5"
-# Specifiy which keyboard LEDs can be user-controlled (eg, with xset(1)).
+# Specify which keyboard LEDs can be user-controlled (eg, with xset(1)).
# Option "Xleds" "1 2 3"
diff --git a/src/newport.h b/src/newport.h
index 70b9665..295f5bd 100644
--- a/src/newport.h
+++ b/src/newport.h
@@ -77,7 +77,7 @@ typedef struct {
xf86CursorInfoPtr CursorInfoRec;
CARD16 curs_cmap_base; /* MSB of the cursor's cmap */
- /* wrapped funtions: */
+ /* wrapped functions: */
CloseScreenProcPtr CloseScreen;
/* newport register backups: */
diff --git a/src/newport_accel.c b/src/newport_accel.c
index 450c88a..19d5ae0 100644
--- a/src/newport_accel.c
+++ b/src/newport_accel.c
@@ -38,7 +38,7 @@
#define NEWPORT_GFIFO_ENTRIES 30
/*
- I dont know how many entries are in the gfx FIFO, judging by 6 bits in the GFIFO
+ I don't know how many entries are in the gfx FIFO, judging by 6 bits in the GFIFO
level status register it can be at most 63. it must be at least 32 because
otherwise they would use less bits for status
diff --git a/src/newport_cursor.c b/src/newport_cursor.c
index 37b7492..bee412b 100644
--- a/src/newport_cursor.c
+++ b/src/newport_cursor.c
@@ -47,7 +47,7 @@ NewportHWCursorInit(ScreenPtr pScreen)
infoPtr->RealizeCursor = NewportRealizeCursor;
infoPtr->UseHWCursor = NULL;
- /* enable cursor funtion in shadow register */
+ /* enable cursor function in shadow register */
pNewport->vc2ctrl |= VC2_CTRL_ECURS;
/* enable glyph cursor, maximum size is 32x32x2 */
pNewport->vc2ctrl &= ~( VC2_CTRL_ECG64 | VC2_CTRL_ECCURS);
diff --git a/src/newport_driver.c b/src/newport_driver.c
index 93f765c..3c5d2bc 100644
--- a/src/newport_driver.c
+++ b/src/newport_driver.c
@@ -396,7 +396,7 @@ NewportPreInit(ScrnInfoPtr pScrn, int flags)
xf86DrvMsg(pScrn->scrnIndex, from, "Using %s cursor\n",
pNewport->hwCursor ? "HW" : "SW");
- /* Set up clock ranges that are alway ok */
+ /* Set up clock ranges that are always ok */
/* XXX: Use information from VC2 here */
clockRanges = xnfcalloc(sizeof(ClockRange),1);
clockRanges->next = NULL;
@@ -581,7 +581,7 @@ NewportScreenInit(int index, ScreenPtr pScreen, int argc, char **argv)
if (!miCreateDefColormap(pScreen))
return FALSE;
- /* Install our LoadPalette funciton */
+ /* Install our LoadPalette function */
if(!xf86HandleColormaps(pScreen, 256, 8, NewportLoadPalette, 0,
CMAP_RELOAD_ON_MODE_SWITCH )) {
xf86DrvMsg(pScrn->scrnIndex, X_ERROR,
diff --git a/src/newport_regs.h b/src/newport_regs.h
index fb2d914..783b73b 100644
--- a/src/newport_regs.h
+++ b/src/newport_regs.h
@@ -184,7 +184,7 @@ struct Newport_rexregs {
npireg_t hostrw0;
npireg_t hostrw1;
npireg_t dcbmode;
-#define NPORT_DMODE_WMASK 0x00000003 /* dataWidth of data being transfered */
+#define NPORT_DMODE_WMASK 0x00000003 /* dataWidth of data being transferred */
#define NPORT_DMODE_W4 0x00000000
#define NPORT_DMODE_W1 0x00000001
#define NPORT_DMODE_W2 0x00000002
@@ -341,7 +341,7 @@ struct Newport_regs {
* DCBMODE register defines:
*/
-/* Widht of the data being transfered for each DCBDATA[01] word */
+/* Width of the data being transferred for each DCBDATA[01] word */
#define DCB_DATAWIDTH_4 0x0
#define DCB_DATAWIDTH_1 0x1
#define DCB_DATAWIDTH_2 0x2