summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-28 16:38:34 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-28 16:38:34 -0800
commitb53bb3a6aa1da70d106ce205bcac25a58b507eae (patch)
tree62e7e5015a652b1e737c93861bf2b9aa9f3c19fa
parentaa851a1a08709884652b3a479c38b766641831d2 (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.md2
-rw-r--r--src/sisusb_dac.c2
-rw-r--r--src/sisusb_dac.h2
-rw-r--r--src/sisusb_driver.c4
-rw-r--r--src/sisusb_setup.c2
-rw-r--r--src/sisusb_types.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/README.md b/README.md
index c4a0ce7..7cecb94 100644
--- a/README.md
+++ b/README.md
@@ -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-sisusb
diff --git a/src/sisusb_dac.c b/src/sisusb_dac.c
index b5c4dce..40ee727 100644
--- a/src/sisusb_dac.c
+++ b/src/sisusb_dac.c
@@ -503,7 +503,7 @@ int SiSUSBMemBandWidth(ScrnInfoPtr pScrn, Bool IsForCRT2)
/* Load the palette. We do this for all supported color depths
* in order to support gamma correction. We hereby convert the
* given colormap to a complete 24bit color palette and enable
- * the correspoding bit in SR7 to enable the 24bit lookup table.
+ * the corresponding bit in SR7 to enable the 24bit lookup table.
* Gamma correction for CRT2 is only supported on SiS video bridges.
* There are there 6-bit-RGB values submitted even if bpp is 16 and
* weight is 565, because SetWeight() sets rgbBits to the maximum
diff --git a/src/sisusb_dac.h b/src/sisusb_dac.h
index 462e571..4d88fe2 100644
--- a/src/sisusb_dac.h
+++ b/src/sisusb_dac.h
@@ -31,7 +31,7 @@
int SiSUSB_compute_vclk(int Clock, int *out_n, int *out_dn, int *out_div,
int *out_sbit, int *out_scale);
void SISUSBDACPreInit(ScrnInfoPtr pScrn);
-void SISUSBLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indicies,
+void SISUSBLoadPalette(ScrnInfoPtr pScrn, int numColors, int *indices,
LOCO *colors, VisualPtr pVisual);
void SiSUSBCalcClock(ScrnInfoPtr pScrn, int clock, int max_VLD,
unsigned int *vclk);
diff --git a/src/sisusb_driver.c b/src/sisusb_driver.c
index 0fdc8e9..c879cda 100644
--- a/src/sisusb_driver.c
+++ b/src/sisusb_driver.c
@@ -2386,7 +2386,7 @@ SiSUSBEnableTurboQueue(ScrnInfoPtr pScrn)
/* Disable queue flipping */
inSISIDXREG(pSiSUSB, SISCR, 0x55, tempCR55) ;
andSISIDXREG(pSiSUSB, SISCR, 0x55, 0x33) ;
- /* Syncronous reset for Command Queue */
+ /* Synchronous reset for Command Queue */
outSISIDXREG(pSiSUSB, SISSR, 0x26, 0x01);
SIS_MMIO_OUT32(pSiSUSB, pSiSUSB->IOBase, 0x85c4, 0);
/* Enable VRAM Command Queue mode */
@@ -2413,7 +2413,7 @@ SiSUSBEnableTurboQueue(ScrnInfoPtr pScrn)
/* For MMIO */
/* Set Command Queue Threshold to max value 11111b */
outSISIDXREG(pSiSUSB,SISSR, 0x27, 0x1F);
- /* Syncronous reset for Command Queue */
+ /* Synchronous reset for Command Queue */
outSISIDXREG(pSiSUSB,SISSR, 0x26, 0x01);
/* Do some magic (cp readport to writeport) */
temp = SIS_MMIO_IN32(pSiSUSB, pSiSUSB->IOBase, 0x85C8);
diff --git a/src/sisusb_setup.c b/src/sisusb_setup.c
index 67fc963..fa12bf2 100644
--- a/src/sisusb_setup.c
+++ b/src/sisusb_setup.c
@@ -84,7 +84,7 @@ sis315USBSetup(ScrnInfoPtr pScrn)
pScrn->videoRam <<= 1;
}
- /* If DDR asymetric -> mem * 1,5 */
+ /* If DDR asymmetric -> mem * 1,5 */
if(config1 == 0x02) pScrn->videoRam += pScrn->videoRam/2;
xf86DrvMsg(pScrn->scrnIndex, X_PROBED,
diff --git a/src/sisusb_types.h b/src/sisusb_types.h
index 9fc6b41..a525aaf 100644
--- a/src/sisusb_types.h
+++ b/src/sisusb_types.h
@@ -128,7 +128,7 @@ typedef enum _SIS_CHIP_TYPE {
MAX_SIS_CHIP
} SIS_CHIP_TYPE;
-/* Addtional IOCTLs for communication sisfb <> X driver */
+/* Additional IOCTLs for communication sisfb <> X driver */
/* If changing this, sisfb.h must also be changed (for sisfb) */
/* ioctl for identifying and giving some info (esp. memory heap start) */