From 7039165d70079f2e8573ada9323fbc582c825248 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Thu, 8 Jan 2009 21:38:54 -0800 Subject: Comment typo fixes --- src/mouse.c | 2 +- src/pnp.c | 18 +++++++++--------- 2 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/mouse.c b/src/mouse.c index 45d7b85..5e52dd0 100644 --- a/src/mouse.c +++ b/src/mouse.c @@ -3050,7 +3050,7 @@ mouseReset(InputInfoPtr pInfo, unsigned char val) ErrorF("Mouse Current: %i 0x%x\n",mousepriv->current, val); #endif - /* here we put the mouse specific reset detction */ + /* here we put the mouse specific reset detection */ /* They need to do three things: */ /* Check if byte may be a reset byte */ /* If so: Set expectReset TRUE */ diff --git a/src/pnp.c b/src/pnp.c index 70d68ef..a45cb52 100644 --- a/src/pnp.c +++ b/src/pnp.c @@ -68,7 +68,7 @@ typedef struct { /* PnP EISA/product IDs */ static symtab_t pnpprod[] = { - { "KML0001", PROT_THINKING }, /* Kensignton ThinkingMouse */ + { "KML0001", PROT_THINKING }, /* Kensington ThinkingMouse */ { "MSH0001", PROT_IMSERIAL }, /* MS IntelliMouse */ { "MSH0004", PROT_IMSERIAL }, /* MS IntelliMouse TrackBall */ { "KYEEZ00", PROT_MS }, /* Genius EZScroll */ @@ -101,14 +101,14 @@ static symtab_t pnpprod[] = { { "PNP0F09", PROT_MS }, /* MS BallPoint serial */ { "PNP0F0A", PROT_MS }, /* MS PnP serial */ { "PNP0F0B", PROT_MS }, /* MS PnP BallPoint serial */ - { "PNP0F0C", PROT_MS }, /* MS serial comatible */ - { "PNP0F0D", PROT_BM }, /* MS InPort comatible */ - { "PNP0F0E", PROT_PS2 }, /* MS PS/2 comatible */ - { "PNP0F0F", PROT_MS }, /* MS BallPoint comatible */ + { "PNP0F0C", PROT_MS }, /* MS serial compatible */ + { "PNP0F0D", PROT_BM }, /* MS InPort compatible */ + { "PNP0F0E", PROT_PS2 }, /* MS PS/2 compatible */ + { "PNP0F0F", PROT_MS }, /* MS BallPoint compatible */ #ifdef notyet { "PNP0F10", PROT_??? }, /* TI QuickPort */ #endif - { "PNP0F11", PROT_BM }, /* MS bus comatible */ + { "PNP0F11", PROT_BM }, /* MS bus compatible */ { "PNP0F12", PROT_PS2 }, /* Logitech PS/2 */ { "PNP0F13", PROT_PS2 }, /* PS/2 */ #ifdef notyet @@ -244,7 +244,7 @@ pnpgets(InputInfoPtr pInfo, char *buf, Bool *prePNP) #if 0 /* * This is the procedure described in rev 1.0 of PnP COM device spec. - * Unfortunately, some devices which comform to earlier revisions of + * Unfortunately, some devices which conform to earlier revisions of * the spec gets confused and do not return the ID string... */ @@ -283,7 +283,7 @@ pnpgets(InputInfoPtr pInfo, char *buf, Bool *prePNP) xf86SerialModemClearBits(pInfo->fd, i); usleep(200000); - /* wait for respose, 2nd phase (2.1.6) */ + /* wait for response, 2nd phase (2.1.6) */ xf86FlushInput(pInfo->fd); i = TIOCM_DTR | TIOCM_RTS; /* DTR = 1, RTS = 1 */ xf86SerialModemSetBits(pInfo->fd, i); @@ -308,7 +308,7 @@ pnpgets(InputInfoPtr pInfo, char *buf, Bool *prePNP) pnpOpts = xf86OptionListCreate(pnpSerial, -1, 1); xf86SetSerial(pInfo->fd, pnpOpts); - /* wait for respose */ + /* wait for response */ xf86FlushInput(pInfo->fd); i = XF86_M_DTR | XF86_M_RTS; /* DTR = 1, RTS = 1 */ xf86SerialModemSetBits(pInfo->fd, i); -- cgit v1.2.3