diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-29 15:17:16 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-01-29 15:17:16 -0800 |
commit | 12dc7dac8d0ddceb1843e9bbd604fdd2ec355c2c (patch) | |
tree | 70974e0c223b0b063ed1f04f822e866e2d15cc10 | |
parent | 591dae19fb49b6a9c6d36ffc0fdf2224aed164c6 (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>
-rw-r--r-- | README.md | 2 | ||||
-rw-r--r-- | src/trident.h | 2 | ||||
-rw-r--r-- | src/trident_dac.c | 4 | ||||
-rw-r--r-- | src/trident_driver.c | 6 | ||||
-rw-r--r-- | src/trident_video.c | 4 |
5 files changed, 9 insertions, 9 deletions
@@ -6,7 +6,7 @@ Xorg mailing list: https://lists.x.org/mailman/listinfo/xorg -The master development code repository can be found at: +The primary development code repository can be found at: https://gitlab.freedesktop.org/xorg/driver/xf86-video-trident diff --git a/src/trident.h b/src/trident.h index c82de4c..f8fb3ed 100644 --- a/src/trident.h +++ b/src/trident.h @@ -280,7 +280,7 @@ void tridentSetModeBIOS(ScrnInfoPtr pScrn, DisplayModePtr mode); void TridentOutIndReg(ScrnInfoPtr pScrn, CARD32 reg, unsigned char mask, unsigned char data); unsigned char TridentInIndReg(ScrnInfoPtr pScrn, CARD32 reg); -void TridentLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies, LOCO *colors, VisualPtr pVisual); +void TridentLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices, LOCO *colors, VisualPtr pVisual); void TridentSetOverscan(ScrnInfoPtr pScrn, int overscan); int TGUISetRead(ScreenPtr pScreen, int bank); int TGUISetWrite(ScreenPtr pScreen, int bank); diff --git a/src/trident_dac.c b/src/trident_dac.c index 725a603..665298b 100644 --- a/src/trident_dac.c +++ b/src/trident_dac.c @@ -1259,7 +1259,7 @@ void TridentSetOverscan( void TridentLoadPalette( ScrnInfoPtr pScrn, int numColors, - int *indicies, + int *indices, LOCO *colors, VisualPtr pVisual ){ @@ -1267,7 +1267,7 @@ void TridentLoadPalette( TRIDENTPtr pTrident = TRIDENTPTR(pScrn); int i, index; for(i = 0; i < numColors; i++) { - index = indicies[i]; + index = indices[i]; OUTB(0x3C6, 0xFF); DACDelay(hwp); OUTB(0x3c8, index); diff --git a/src/trident_driver.c b/src/trident_driver.c index bc8a2b1..b3710b7 100644 --- a/src/trident_driver.c +++ b/src/trident_driver.c @@ -907,7 +907,7 @@ TRIDENTLcdDisplaySize (xf86MonPtr pMon) } } /* - * If not explicitely set try to find out if the display supports + * If not explicitly set try to find out if the display supports * the 1400 mode. For sanity check if DDC comes from a digital * display. */ @@ -2079,7 +2079,7 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags) pTrident->UsePCIBurst = TRUE; if (xf86ReturnOptValBool(pTrident->Options, OPTION_NOPCIBURST, FALSE)) { pTrident->UsePCIBurst = FALSE; - xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "PCI Burst disbled\n"); + xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "PCI Burst disabled\n"); } /* Display Size override moved to DDC section */ if(xf86GetOptValInteger(pTrident->Options, OPTION_VIDEO_KEY, @@ -2498,7 +2498,7 @@ TRIDENTPreInit(ScrnInfoPtr pScrn, int flags) xf86DrvMsg(pScrn->scrnIndex, X_CONFIG, "PCI retry not supported, disabling\n"); pTrident->UsePCIRetry = FALSE; /* Not Supported */ break; - /* Trident didn't update the PCI ID's and so we have to detemine + /* Trident didn't update the PCI ID's and so we have to determine * which chips are right ! Then override pTrident->Chipset to * correct values */ case TGUI9660: diff --git a/src/trident_video.c b/src/trident_video.c index cc57a12..7642c05 100644 --- a/src/trident_video.c +++ b/src/trident_video.c @@ -1266,12 +1266,12 @@ tridentFixFrame(ScrnInfoPtr pScrn, int *fixFrame) */ switch (pTrident->Chipset) { case TGUI9680: - /* Furthur tweaking needed */ + /* Further tweaking needed */ pTrident->hsync -= 84; pTrident->vsync += 2; break; case PROVIDIA9682: - /* Furthur tweaking needed */ + /* Further tweaking needed */ pTrident->hsync += 7; break; case PROVIDIA9685: |