forked from Minki/linux
staging: ced1401: Fix typo in staging/ced1401
Correct spelling typo in comments within staging/ced1401 Signed-off-by: Masanari Iida <standby24x7@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
d0cdf020ed
commit
b1a21ee9de
@ -341,7 +341,7 @@ bool Is1401(DEVICE_EXTENSION * pdx)
|
||||
}
|
||||
|
||||
if (iReturn == 0) // if all is OK...
|
||||
iReturn = state == 0; // then sucess is that the state is 0
|
||||
iReturn = state == 0; // then success is that the state is 0
|
||||
} else
|
||||
iReturn = 0; // we failed
|
||||
pdx->bForceReset = false; // Clear forced reset flag now
|
||||
@ -565,7 +565,7 @@ int LineCount(DEVICE_EXTENSION * pdx)
|
||||
if (dwIndex >= INBUF_SZ) // see if we fall off buff
|
||||
dwIndex = 0;
|
||||
}
|
||||
while (dwIndex != dwEnd); // go to last avaliable
|
||||
while (dwIndex != dwEnd); // go to last available
|
||||
}
|
||||
|
||||
spin_unlock_irq(&pdx->charInLock);
|
||||
|
@ -911,9 +911,9 @@ static bool ReadWord(unsigned short *pWord, char *pBuf, unsigned int *pdDone,
|
||||
** ReadHuff
|
||||
**
|
||||
** Reads a coded number in and returns it, Code is:
|
||||
** If data is in range 0..127 we recieve 1 byte. If data in range 128-16383
|
||||
** we recieve two bytes, top bit of first indicates another on its way. If
|
||||
** data in range 16383-4194303 we get three bytes, top two bits of first set
|
||||
** If data is in range 0..127 we receive 1 byte. If data in range 128-16383
|
||||
** we receive two bytes, top bit of first indicates another on its way. If
|
||||
** data in range 16384-4194303 we get three bytes, top two bits of first set
|
||||
** to indicate three byte total.
|
||||
**
|
||||
*****************************************************************************/
|
||||
|
@ -165,7 +165,7 @@ typedef struct _DEVICE_EXTENSION
|
||||
|
||||
// Parameters relating to a block read\write that is in progress. Some of these values
|
||||
// are equivalent to values in rDMAInfo. The values here are those in use, while those
|
||||
// in rDMAInfo are those recieved from the 1401 via an escape sequence. If another
|
||||
// in rDMAInfo are those received from the 1401 via an escape sequence. If another
|
||||
// escape sequence arrives before the previous xfer ends, rDMAInfo values are updated while these
|
||||
// are used to finish off the current transfer.
|
||||
volatile short StagedId; // The transfer area id for this transfer
|
||||
|
@ -145,7 +145,7 @@
|
||||
** You should add a new one of these to keep things tidy for applications.
|
||||
**
|
||||
** DRIVERET_MAX (below) specifies the maximum allowed type code from the
|
||||
** 1401 driver; I have set this high to accomodate as yet undesigned 1401
|
||||
** 1401 driver; I have set this high to accommodate as yet undesigned 1401
|
||||
** types. Similarly, as long as the command file names follow the ARM,
|
||||
** ARN, ARO sequence, these are calculated by the ExtForType function, so
|
||||
** you don't need to do anything here either.
|
||||
@ -160,7 +160,7 @@
|
||||
** have broken backwards compatibility. Minor number changes mean that we
|
||||
** have added new functionality that does not break backwards compatibility.
|
||||
** we starts at 0. Revision changes mean we have fixed something. Each index
|
||||
** returns to 0 when a higer one changes.
|
||||
** returns to 0 when a higher one changes.
|
||||
*/
|
||||
#define U14LIB_MAJOR 4
|
||||
#define U14LIB_MINOR 0
|
||||
@ -211,7 +211,7 @@
|
||||
|
||||
/*
|
||||
** These are the 1401 type codes returned by the driver, they are a slightly
|
||||
** odd sequence & start for reasons of compatability with the DOS driver.
|
||||
** odd sequence & start for reasons of compatibility with the DOS driver.
|
||||
** The maximum code value is the upper limit of 1401 device types.
|
||||
*/
|
||||
#define DRIVRET_STD 4 // Codes for 1401 types matching driver values
|
||||
@ -2327,7 +2327,7 @@ U14API(short) U14SetTransArea(short hand, WORD wArea, void *pvBuff,
|
||||
|
||||
/****************************************************************************
|
||||
** U14SetTransferEvent Sets an event for notification of application
|
||||
** wArea The tranfer area index, from 0 to MAXAREAS-1
|
||||
** wArea The transfer area index, from 0 to MAXAREAS-1
|
||||
** bEvent True to create an event, false to remove it
|
||||
** bToHost Set 0 for notification on to1401 tranfers, 1 for
|
||||
** notification of transfers to the host PC
|
||||
|
Loading…
Reference in New Issue
Block a user