From f4e3bf9e27d47e1499c1a3387f690f9320f835ea Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 27 Jan 2022 17:24:24 -0800 Subject: Fix spelling/wording issues Found by using: codespell --builtin clear,rare,usage,informal,code,names Signed-off-by: Alan Coopersmith --- src/accelX.c | 2 +- src/hwcursor.c | 2 +- src/rendition.c | 8 ++++---- src/v2kregs.h | 2 +- src/vboard.c | 2 +- src/vramdac.c | 4 ++-- src/vtypes.h | 4 ++-- 7 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/accelX.c b/src/accelX.c index bd237b3..7c85209 100644 --- a/src/accelX.c +++ b/src/accelX.c @@ -153,7 +153,7 @@ RENDITIONAccelXAAInit(ScreenPtr pScreen) } /* Here we fill in the XAA callback names */ - /* Sync is the only compulsary function */ + /* Sync is the only compulsory function */ pXAAinfo->Sync = RENDITIONSyncV1000; /* Here are the other functions & flags */ diff --git a/src/hwcursor.c b/src/hwcursor.c index 609417a..f52be9c 100644 --- a/src/hwcursor.c +++ b/src/hwcursor.c @@ -35,7 +35,7 @@ static void RENDITIONLoadCursorImage(ScrnInfoPtr pScreenInfo, unsigned char* src /* - * This is top-level initialization funtion + * This is top-level initialization function */ void RenditionHWCursorPreInit (ScrnInfoPtr pScreenInfo) diff --git a/src/rendition.c b/src/rendition.c index 58b49f2..836910f 100644 --- a/src/rendition.c +++ b/src/rendition.c @@ -80,7 +80,7 @@ /* * Constants for the (theoretical) maximum width and height that can * be used to display data on the CRT. These were calculated from - * the HORZ and VERT macors, respectively, in vmodes.c. + * the HORZ and VERT macros, respectively, in vmodes.c. */ static const int MAX_HDISPLAY = 2048; static const int MAX_VDISPLAY = 2048; @@ -88,7 +88,7 @@ static const int MAX_VDISPLAY = 2048; /* * Constants for the (theoretical) maximum line length of a scan line * and scan lines per screen (including overdraw). These were - * calculated from the HORZ and VERT macors, respectively, in vmodes.c. + * calculated from the HORZ and VERT macros, respectively, in vmodes.c. */ static const int MAX_HTOTAL = 2880; static const int MAX_VTOTAL = 2184; @@ -683,7 +683,7 @@ renditionPreInit(ScrnInfoPtr pScreenInfo, int flags) renditionChipsets[ pRendition->board.chip==V1000_DEVICE ? 0:1].name); - /* I do not get the IO base addres */ + /* I do not get the IO base address */ /* XXX Is this still true? If so, the wrong base is being checked */ xf86DrvMsg(pScreenInfo->scrnIndex, X_PROBED, "Rendition %s @ %lx/%lx\n", @@ -1185,7 +1185,7 @@ renditionScreenInit(SCREEN_INIT_ARGS_DECL) /* Initialise HW cursor */ if(!RenditionHWCursorInit(pScreen)){ xf86DrvMsg(pScreenInfo->scrnIndex, X_ERROR, - "Hardware Cursor initalization failed!!\n"); + "Hardware Cursor initialization failed!!\n"); } } diff --git a/src/v2kregs.h b/src/v2kregs.h index 5f6942c..e1124c3 100644 --- a/src/v2kregs.h +++ b/src/v2kregs.h @@ -9,7 +9,7 @@ #define SCRATCH 0x70 /* 16-bit BIOS scratch space */ #define MEMDIAG 0xa4 /* Memory diagnostic register #1 */ -#define CURSORBASE 0xac /* cursor base address bits [23:10] aligne to 1024 byte boundary */ +#define CURSORBASE 0xac /* cursor base address bits [23:10] aligned to 1024 byte boundary */ #define PCLKPLL 0xc0 /* external device 0 */ #define VINEVENBASE 0xd0 /* video input even field base address */ diff --git a/src/vboard.c b/src/vboard.c index 622715f..c43dd99 100644 --- a/src/vboard.c +++ b/src/vboard.c @@ -63,7 +63,7 @@ verite_initboard(ScrnInfoPtr pScreenInfo) verite_write_memory32(vmb, 0x7f8, 0); verite_write_memory32(vmb, 0x7fc, 0); - /* Run the code we just transfered to the boards memory */ + /* Run the code we just transferred to the boards memory */ /* ... and start accelerator */ v1k_flushicache(pScreenInfo); diff --git a/src/vramdac.c b/src/vramdac.c index 21c1df7..da86b29 100644 --- a/src/vramdac.c +++ b/src/vramdac.c @@ -18,7 +18,7 @@ #undef DEBUG -/* directly accessable RAMDAC registers */ +/* directly accessible RAMDAC registers */ #define BT485_WRITE_ADDR 0x00 #define BT485_RAMDAC_DATA 0x01 #define BT485_PIXEL_MASK 0x02 @@ -36,7 +36,7 @@ #define BT485_CURS_Y_LOW 0x0e #define BT485_CURS_Y_HIGH 0x0f -/* indirectly accessable ramdac registers */ +/* indirectly accessible ramdac registers */ #define BT485_COMMAND_REG_3 0x01 /* bits in command register 0 */ diff --git a/src/vtypes.h b/src/vtypes.h index b221aa3..2a8b919 100644 --- a/src/vtypes.h +++ b/src/vtypes.h @@ -152,8 +152,8 @@ struct verite_board_t { Bool hwcursor_used; /* Is HW-cursor used? */ vu16 hwcursor_vmemsize; /* How much videomem does it use */ - vu32 hwcursor_membase; /* videomem adress for V2K-cursor */ - /* Has to be on 1024-byte boundry */ + vu32 hwcursor_membase; /* videomem address for V2K-cursor */ + /* Has to be on 1024-byte boundary */ vu32 fbOffset; /* Currently busy fb-memory marker */ Bool overclock_mem; /* Memory overclock ? */ -- cgit v1.2.3