mirror of https://gitee.com/openkylin/linux.git
[PATCH] Typo fixes
Fix a lot of typos. Eyeballed by jmc@ in OpenBSD. Signed-off-by: Alexey Dobriyan <adobriyan@gmail.com> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This commit is contained in:
parent
ded23ac627
commit
7f927fcc2f
|
@ -29,7 +29,7 @@ address is written to $4a, then the whole Byte is written to
|
|||
$48, while it doesn't matter how often you're writing to $4a
|
||||
as long as $48 is not touched. After $48 has been written,
|
||||
the whole card disappears from $e8 and is mapped to the new
|
||||
address just written. Make shure $4a is written before $48,
|
||||
address just written. Make sure $4a is written before $48,
|
||||
otherwise your chance is only 1:16 to find the board :-).
|
||||
|
||||
The local memory-map is even active when mapped to $e8:
|
||||
|
|
|
@ -87,7 +87,7 @@
|
|||
* would fail and generate an error message in the system log.
|
||||
* - For opt_c: slave should not be set to the master's setting
|
||||
* while it is running. It was already set during enslave. To
|
||||
* simplify things, it is now handeled separately.
|
||||
* simplify things, it is now handled separately.
|
||||
*
|
||||
* - 2003/12/01 - Shmulik Hen <shmulik.hen at intel dot com>
|
||||
* - Code cleanup and style changes
|
||||
|
|
|
@ -236,7 +236,7 @@
|
|||
|
||||
|
||||
/*
|
||||
* Abort preanble and completion macros.
|
||||
* Abort preamble and completion macros.
|
||||
* If a fixup handler is required then those macros must surround it.
|
||||
* It is assumed that the fixup code will handle the private part of
|
||||
* the exit macro.
|
||||
|
|
|
@ -118,7 +118,7 @@
|
|||
|
||||
// enable CTS interrupt
|
||||
#define MOXA_MUST_IER_ECTSI 0x80
|
||||
// eanble RTS interrupt
|
||||
// enable RTS interrupt
|
||||
#define MOXA_MUST_IER_ERTSI 0x40
|
||||
// enable Xon/Xoff interrupt
|
||||
#define MOXA_MUST_IER_XINT 0x20
|
||||
|
|
|
@ -5996,7 +5996,7 @@ static void usc_set_async_mode( struct mgsl_struct *info )
|
|||
* <15..8> ? RxFIFO IRQ Request Level
|
||||
*
|
||||
* Note: For async mode the receive FIFO level must be set
|
||||
* to 0 to aviod the situation where the FIFO contains fewer bytes
|
||||
* to 0 to avoid the situation where the FIFO contains fewer bytes
|
||||
* than the trigger level and no more data is expected.
|
||||
*
|
||||
* <7> 0 Exited Hunt IA (Interrupt Arm)
|
||||
|
|
|
@ -2044,7 +2044,7 @@ static int __init edac_mc_init(void)
|
|||
*/
|
||||
clear_pci_parity_errors();
|
||||
|
||||
/* Create the MC sysfs entires */
|
||||
/* Create the MC sysfs entries */
|
||||
if (edac_sysfs_memctrl_setup()) {
|
||||
edac_printk(KERN_ERR, EDAC_MC,
|
||||
"Error initializing sysfs code\n");
|
||||
|
|
|
@ -812,7 +812,7 @@ static int nsc_ircc_init_39x(nsc_chip_t *chip, chipio_t *info)
|
|||
int cfg_base = info->cfg_base;
|
||||
int enabled;
|
||||
|
||||
/* User is shure about his config... accept it. */
|
||||
/* User is sure about his config... accept it. */
|
||||
IRDA_DEBUG(2, "%s(): nsc_ircc_init_39x (user settings): "
|
||||
"io=0x%04x, irq=%d, dma=%d\n",
|
||||
__FUNCTION__, info->fir_base, info->irq, info->dma);
|
||||
|
|
|
@ -2283,7 +2283,7 @@ static void set_rx_mode(struct net_device *net_dev)
|
|||
int i, table_entries;
|
||||
u32 rx_mode;
|
||||
|
||||
/* 635 Hash Table entires = 256(2^16) */
|
||||
/* 635 Hash Table entries = 256(2^16) */
|
||||
if((sis_priv->chipset_rev >= SIS635A_900_REV) ||
|
||||
(sis_priv->chipset_rev == SIS900B_900_REV))
|
||||
table_entries = 16;
|
||||
|
|
|
@ -513,7 +513,7 @@ struct mii_phy {
|
|||
u_char *rst; /* Start of reset sequence in SROM */
|
||||
u_int mc; /* Media Capabilities */
|
||||
u_int ana; /* NWay Advertisement */
|
||||
u_int fdx; /* Full DupleX capabilites for each media */
|
||||
u_int fdx; /* Full DupleX capabilities for each media */
|
||||
u_int ttm; /* Transmit Threshold Mode for each media */
|
||||
u_int mci; /* 21142 MII Connector Interrupt info */
|
||||
};
|
||||
|
|
|
@ -199,7 +199,7 @@ void pnic2_lnk_change(struct net_device *dev, int csr5)
|
|||
/* negotiation ended successfully */
|
||||
|
||||
/* get the link partners reply and mask out all but
|
||||
* bits 24-21 which show the partners capabilites
|
||||
* bits 24-21 which show the partners capabilities
|
||||
* and match those to what we advertised
|
||||
*
|
||||
* then begin to interpret the results of the negotiation.
|
||||
|
|
|
@ -208,7 +208,7 @@ static const struct typhoon_card_info typhoon_card_info[] __devinitdata = {
|
|||
};
|
||||
|
||||
/* Notes on the new subsystem numbering scheme:
|
||||
* bits 0-1 indicate crypto capabilites: (0) variable, (1) DES, or (2) 3DES
|
||||
* bits 0-1 indicate crypto capabilities: (0) variable, (1) DES, or (2) 3DES
|
||||
* bit 4 indicates if this card has secured firmware (we don't support it)
|
||||
* bit 8 indicates if this is a (0) copper or (1) fiber card
|
||||
* bits 12-16 indicate card type: (0) client and (1) server
|
||||
|
@ -788,7 +788,7 @@ typhoon_start_tx(struct sk_buff *skb, struct net_device *dev)
|
|||
/* we have two rings to choose from, but we only use txLo for now
|
||||
* If we start using the Hi ring as well, we'll need to update
|
||||
* typhoon_stop_runtime(), typhoon_interrupt(), typhoon_num_free_tx(),
|
||||
* and TXHI_ENTIRES to match, as well as update the TSO code below
|
||||
* and TXHI_ENTRIES to match, as well as update the TSO code below
|
||||
* to get the right DMA address
|
||||
*/
|
||||
txRing = &tp->txLoRing;
|
||||
|
|
|
@ -3858,7 +3858,7 @@ static int orinoco_ioctl_setscan(struct net_device *dev,
|
|||
unsigned long flags;
|
||||
|
||||
/* Note : you may have realised that, as this is a SET operation,
|
||||
* this is priviledged and therefore a normal user can't
|
||||
* this is privileged and therefore a normal user can't
|
||||
* perform scanning.
|
||||
* This is not an error, while the device perform scanning,
|
||||
* traffic doesn't flow, so it's a perfect DoS...
|
||||
|
|
|
@ -747,7 +747,7 @@ prism54_get_essid(struct net_device *ndev, struct iw_request_info *info,
|
|||
|
||||
if (essid->length) {
|
||||
dwrq->flags = 1; /* set ESSID to ON for Wireless Extensions */
|
||||
/* if it is to big, trunk it */
|
||||
/* if it is too big, trunk it */
|
||||
dwrq->length = min((u8)IW_ESSID_MAX_SIZE, essid->length);
|
||||
} else {
|
||||
dwrq->flags = 0;
|
||||
|
|
|
@ -1026,7 +1026,7 @@ static void twa_free_request_id(TW_Device_Extension *tw_dev, int request_id)
|
|||
tw_dev->free_tail = (tw_dev->free_tail + 1) % TW_Q_LENGTH;
|
||||
} /* End twa_free_request_id() */
|
||||
|
||||
/* This function will get parameter table entires from the firmware */
|
||||
/* This function will get parameter table entries from the firmware */
|
||||
static void *twa_get_param(TW_Device_Extension *tw_dev, int request_id, int table_id, int parameter_id, int parameter_size_bytes)
|
||||
{
|
||||
TW_Command_Full *full_command_packet;
|
||||
|
|
|
@ -1528,7 +1528,7 @@ static int serial8250_startup(struct uart_port *port)
|
|||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
serial8250_clear_fifos(up);
|
||||
|
||||
|
|
|
@ -483,7 +483,7 @@ static int serial_txx9_startup(struct uart_port *port)
|
|||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
sio_set(up, TXX9_SIFCR,
|
||||
TXX9_SIFCR_TFRST | TXX9_SIFCR_RFRST | TXX9_SIFCR_FRSTE);
|
||||
|
|
|
@ -641,7 +641,7 @@ static int sunsu_startup(struct uart_port *port)
|
|||
|
||||
/*
|
||||
* Clear the FIFO buffers and disable them.
|
||||
* (they will be reeanbled in set_termios())
|
||||
* (they will be reenabled in set_termios())
|
||||
*/
|
||||
if (uart_config[up->port.type].flags & UART_CLEAR_FIFO) {
|
||||
serial_outp(up, UART_FCR, UART_FCR_ENABLE_FIFO);
|
||||
|
|
|
@ -158,7 +158,7 @@ static int ohci_s3c2410_hub_control (
|
|||
"s3c2410_hub_control(%p,0x%04x,0x%04x,0x%04x,%p,%04x)\n",
|
||||
hcd, typeReq, wValue, wIndex, buf, wLength);
|
||||
|
||||
/* if we are only an humble host without any special capabilites
|
||||
/* if we are only an humble host without any special capabilities
|
||||
* process the request straight away and exit */
|
||||
|
||||
if (info == NULL) {
|
||||
|
|
|
@ -217,7 +217,7 @@ static int blan_mdlm_bind(struct usbnet *dev, struct usb_interface *intf)
|
|||
* with devices that use it and those that don't.
|
||||
*/
|
||||
if ((detail->bDetailData[1] & ~0x02) != 0x01) {
|
||||
/* bmDataCapabilites == 0 would be fine too,
|
||||
/* bmDataCapabilities == 0 would be fine too,
|
||||
* but framing is minidriver-coupled for now.
|
||||
*/
|
||||
bad_detail:
|
||||
|
|
|
@ -311,7 +311,7 @@ mb_cache_create(const char *name, struct mb_cache_op *cache_op,
|
|||
/*
|
||||
* mb_cache_shrink()
|
||||
*
|
||||
* Removes all cache entires of a device from the cache. All cache entries
|
||||
* Removes all cache entries of a device from the cache. All cache entries
|
||||
* currently in use cannot be freed, and thus remain in the cache. All others
|
||||
* are freed.
|
||||
*
|
||||
|
|
|
@ -333,7 +333,7 @@ struct pdc_model { /* for PDC_MODEL */
|
|||
unsigned long curr_key;
|
||||
};
|
||||
|
||||
/* Values for PDC_MODEL_CAPABILITES non-equivalent virtual aliasing support */
|
||||
/* Values for PDC_MODEL_CAPABILITIES non-equivalent virtual aliasing support */
|
||||
|
||||
#define PDC_MODEL_IOPDIR_FDC (1 << 2) /* see sba_iommu.c */
|
||||
#define PDC_MODEL_NVA_MASK (3 << 4)
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
|
||||
#include <asm/cpu/addrspace.h>
|
||||
|
||||
/* Memory segments (32bit Priviledged mode addresses) */
|
||||
/* Memory segments (32bit Privileged mode addresses) */
|
||||
#define P0SEG 0x00000000
|
||||
#define P1SEG 0x80000000
|
||||
#define P2SEG 0xa0000000
|
||||
|
|
|
@ -738,7 +738,7 @@ static unsigned long __init sun_floppy_init(void)
|
|||
if (!sun_floppy_types[0] && sun_floppy_types[1]) {
|
||||
/*
|
||||
* Set the drive exchange bit in FCR on NS87303,
|
||||
* make shure other bits are sane before doing so.
|
||||
* make sure other bits are sane before doing so.
|
||||
*/
|
||||
ns87303_modify(config, FER, FER_EDM, 0);
|
||||
ns87303_modify(config, ASC, ASC_DRV2_SEL, 0);
|
||||
|
|
|
@ -734,7 +734,7 @@ struct fb_tile_ops {
|
|||
|
||||
/* A driver may set this flag to indicate that it does want a set_par to be
|
||||
* called every time when fbcon_switch is executed. The advantage is that with
|
||||
* this flag set you can really be shure that set_par is always called before
|
||||
* this flag set you can really be sure that set_par is always called before
|
||||
* any of the functions dependant on the correct hardware state or altering
|
||||
* that state, even if you are using some broken X releases. The disadvantage
|
||||
* is that it introduces unwanted delays to every console switch if set_par
|
||||
|
|
|
@ -912,7 +912,7 @@ asmlinkage long sys_migrate_pages(pid_t pid, unsigned long maxnode,
|
|||
/*
|
||||
* Check if this process has the right to modify the specified
|
||||
* process. The right exists if the process has administrative
|
||||
* capabilities, superuser priviledges or the same
|
||||
* capabilities, superuser privileges or the same
|
||||
* userid as the target process.
|
||||
*/
|
||||
if ((current->euid != task->suid) && (current->euid != task->uid) &&
|
||||
|
|
|
@ -1302,7 +1302,7 @@ static int irda_sendmsg(struct kiocb *iocb, struct socket *sock,
|
|||
if (sk->sk_state != TCP_ESTABLISHED)
|
||||
return -ENOTCONN;
|
||||
|
||||
/* Check that we don't send out to big frames */
|
||||
/* Check that we don't send out too big frames */
|
||||
if (len > self->max_data_size) {
|
||||
IRDA_DEBUG(2, "%s(), Chopping frame from %zd to %d bytes!\n",
|
||||
__FUNCTION__, len, self->max_data_size);
|
||||
|
@ -1546,7 +1546,7 @@ static int irda_sendmsg_dgram(struct kiocb *iocb, struct socket *sock,
|
|||
IRDA_ASSERT(self != NULL, return -1;);
|
||||
|
||||
/*
|
||||
* Check that we don't send out to big frames. This is an unreliable
|
||||
* Check that we don't send out too big frames. This is an unreliable
|
||||
* service, so we have no fragmentation and no coalescence
|
||||
*/
|
||||
if (len > self->max_data_size) {
|
||||
|
@ -1642,7 +1642,7 @@ static int irda_sendmsg_ultra(struct kiocb *iocb, struct socket *sock,
|
|||
}
|
||||
|
||||
/*
|
||||
* Check that we don't send out to big frames. This is an unreliable
|
||||
* Check that we don't send out too big frames. This is an unreliable
|
||||
* service, so we have no fragmentation and no coalescence
|
||||
*/
|
||||
if (len > self->max_data_size) {
|
||||
|
|
|
@ -313,7 +313,7 @@ static int snd_rme32_capture_copy(struct snd_pcm_substream *substream, int chann
|
|||
}
|
||||
|
||||
/*
|
||||
* SPDIF I/O capabilites (half-duplex mode)
|
||||
* SPDIF I/O capabilities (half-duplex mode)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme32_spdif_info = {
|
||||
.info = (SNDRV_PCM_INFO_MMAP_IOMEM |
|
||||
|
@ -339,7 +339,7 @@ static struct snd_pcm_hardware snd_rme32_spdif_info = {
|
|||
};
|
||||
|
||||
/*
|
||||
* ADAT I/O capabilites (half-duplex mode)
|
||||
* ADAT I/O capabilities (half-duplex mode)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme32_adat_info =
|
||||
{
|
||||
|
@ -364,7 +364,7 @@ static struct snd_pcm_hardware snd_rme32_adat_info =
|
|||
};
|
||||
|
||||
/*
|
||||
* SPDIF I/O capabilites (full-duplex mode)
|
||||
* SPDIF I/O capabilities (full-duplex mode)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme32_spdif_fd_info = {
|
||||
.info = (SNDRV_PCM_INFO_MMAP |
|
||||
|
@ -390,7 +390,7 @@ static struct snd_pcm_hardware snd_rme32_spdif_fd_info = {
|
|||
};
|
||||
|
||||
/*
|
||||
* ADAT I/O capabilites (full-duplex mode)
|
||||
* ADAT I/O capabilities (full-duplex mode)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme32_adat_fd_info =
|
||||
{
|
||||
|
|
|
@ -359,7 +359,7 @@ snd_rme96_capture_copy(struct snd_pcm_substream *substream,
|
|||
}
|
||||
|
||||
/*
|
||||
* Digital output capabilites (S/PDIF)
|
||||
* Digital output capabilities (S/PDIF)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme96_playback_spdif_info =
|
||||
{
|
||||
|
@ -388,7 +388,7 @@ static struct snd_pcm_hardware snd_rme96_playback_spdif_info =
|
|||
};
|
||||
|
||||
/*
|
||||
* Digital input capabilites (S/PDIF)
|
||||
* Digital input capabilities (S/PDIF)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme96_capture_spdif_info =
|
||||
{
|
||||
|
@ -417,7 +417,7 @@ static struct snd_pcm_hardware snd_rme96_capture_spdif_info =
|
|||
};
|
||||
|
||||
/*
|
||||
* Digital output capabilites (ADAT)
|
||||
* Digital output capabilities (ADAT)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme96_playback_adat_info =
|
||||
{
|
||||
|
@ -442,7 +442,7 @@ static struct snd_pcm_hardware snd_rme96_playback_adat_info =
|
|||
};
|
||||
|
||||
/*
|
||||
* Digital input capabilites (ADAT)
|
||||
* Digital input capabilities (ADAT)
|
||||
*/
|
||||
static struct snd_pcm_hardware snd_rme96_capture_adat_info =
|
||||
{
|
||||
|
|
|
@ -2256,7 +2256,7 @@ static int snd_hdspm_create_controls(struct snd_card *card, struct hdspm * hdspm
|
|||
}
|
||||
|
||||
/* Channel playback mixer as default control
|
||||
Note: the whole matrix would be 128*HDSPM_MIXER_CHANNELS Faders, thats to big for any alsamixer
|
||||
Note: the whole matrix would be 128*HDSPM_MIXER_CHANNELS Faders, thats too big for any alsamixer
|
||||
they are accesible via special IOCTL on hwdep
|
||||
and the mixer 2dimensional mixer control */
|
||||
|
||||
|
|
|
@ -404,7 +404,7 @@ static void usX2Y_usbpcm_subs_startup(struct snd_usX2Y_substream *subs)
|
|||
struct usX2Ydev * usX2Y = subs->usX2Y;
|
||||
usX2Y->prepare_subs = subs;
|
||||
subs->urb[0]->start_frame = -1;
|
||||
smp_wmb(); // Make shure above modifications are seen by i_usX2Y_subs_startup()
|
||||
smp_wmb(); // Make sure above modifications are seen by i_usX2Y_subs_startup()
|
||||
usX2Y_urbs_set_complete(usX2Y, i_usX2Y_usbpcm_subs_startup);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue