summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 12:14:56 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2022-01-29 12:14:56 -0800
commitccf268903a716c8ca88fcd53ee05d7d9d7de5d3e (patch)
tree153c0abb4d805ad69290e1efde9e10ed4a2a8aa6
parent827a4e59b3499f7350a14889b8aad6e7c51fe6a3 (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--src/IBM561ramdac.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/IBM561ramdac.c b/src/IBM561ramdac.c
index 40d9c62..421d202 100644
--- a/src/IBM561ramdac.c
+++ b/src/IBM561ramdac.c
@@ -201,7 +201,7 @@ IBM561WindowTagsInit(ScrnInfoPtr pScrn)
part of the high byte is used (actually only 2 bits). Pixel C for
8-plane indexes uses 16bpp indexing per IBM's application notes
which describe quad bufering. Note, this array is arranged as
- low byte followed by high byte which will apppear backwards
+ low byte followed by high byte which will appear backwards
relative to the 561 spec( a value of 0x01 in the high byte
really represents a color table starting address of 256).
ex (entry 4):
@@ -234,9 +234,9 @@ typedef struct {
/*
* There are actually 256 window tag entries in the FB and OL WAT tables.
- * We will use only 16 for compatability with the BT463 and more importantly
+ * We will use only 16 for compatibility with the BT463 and more importantly
* to implement the virtual ramdac interface. This requires us to only
- * report the smallest WAT table size, in this case its the auxillary wat
+ * report the smallest WAT table size, in this case its the auxiliary wat
* tables which are 16 entries.
*/
@@ -476,7 +476,7 @@ IBM561InitColormap(ScrnInfoPtr pScrn)
* color pallettes, therefore the gamma table is initialized here.
* Note, each entry in the table is 10 bits, requiring two writes
* per entry!! The table are initialized the same way as color tables,
- * a zero entry followed by mulitple ff's. NOTE, the gamma tables are
+ * a zero entry followed by multiple ff's. NOTE, the gamma tables are
* loaded in a strange manner, DO NOT use this code as a guide (we are
* writing all zero's or all ones). See the tga_ibm561_load_color_map
* _entry code above.
@@ -569,7 +569,7 @@ IBM561ramdacHWInit(ScrnInfoPtr pScrn)
TGA_WRITE_REG(0xFFFFFFFF, TGA_PLANEMASK_REG);
/* Configure the RAMDAC, note registers not set either depend on the
- * previous setting (ie what firmaware programmed to be) or what the
+ * previous setting (ie what firmware programmed to be) or what the
* X-server will set them to
*/
@@ -593,7 +593,7 @@ IBM561ramdacHWInit(ScrnInfoPtr pScrn)
TGA2_WRITE_RAMDAC_REG (0x00, REGS_ADDR);
/*
- * WAT/OL Segement Registers
+ * WAT/OL Segment Registers
*/
/* ?? we setup the address registers first, then stream the data out ?? */
TGA2_WRITE_RAMDAC_REG(IBM561_WAT_SEG_REG, LO_ADDR);