Skip to content

Commit

Permalink
[POWERPC] Spelling fixes: arch/ppc/
Browse files Browse the repository at this point in the history
Spelling fixes in arch/ppc/.

Signed-off-by: Simon Arlott <[email protected]>
Signed-off-by: Paul Mackerras <[email protected]>
  • Loading branch information
nomis authored and paulusmack committed May 12, 2007
1 parent dab4d79 commit a8de5ce
Show file tree
Hide file tree
Showing 40 changed files with 67 additions and 67 deletions.
10 changes: 5 additions & 5 deletions arch/ppc/4xx_io/serial_sicc.c
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
*
* Based on drivers/char/serial_amba.c, by ARM Ltd.
*
* Copyright 2001 IBM Crop.
* Copyright 2001 IBM Corp.
* Author: IBM China Research Lab
* Yudong Yang <[email protected]>
* Yi Ge <[email protected]>
Expand Down Expand Up @@ -155,16 +155,16 @@

/* serial port transmit command register */

#define _TxCR_ET_MASK 0x80 /* transmiter enable mask */
#define _TxCR_ET_MASK 0x80 /* transmitter enable mask */
#define _TxCR_DME_MASK 0x60 /* dma mode mask */
#define _TxCR_TIE_MASK 0x10 /* empty interrupt enable mask */
#define _TxCR_EIE_MASK 0x08 /* error interrupt enable mask */
#define _TxCR_SPE_MASK 0x04 /* stop/pause mask */
#define _TxCR_TB_MASK 0x02 /* transmit break mask */

#define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmiter enabled */
#define _TxCR_DME_DISABLE 0x00 /* transmiter disabled, TBR intr disabled */
#define _TxCR_DME_TBR 0x20 /* transmiter disabled, TBR intr enabled */
#define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmitter enabled */
#define _TxCR_DME_DISABLE 0x00 /* transmitter disabled, TBR intr disabled */
#define _TxCR_DME_TBR 0x20 /* transmitter disabled, TBR intr enabled */
#define _TxCR_DME_CHAN_2 0x40 /* dma enabled, destination chann 2 */
#define _TxCR_DME_CHAN_3 0x60 /* dma enabled, destination chann 3 */

Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/8xx_io/commproc.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ m8xx_cpm_reset(void)

/* Set SDMA Bus Request priority 5.
* On 860T, this also enables FEC priority 6. I am not sure
* this is what we realy want for some applications, but the
* this is what we really want for some applications, but the
* manual recommends it.
* Bit 25, FAM can also be set to use FEC aggressive mode (860T).
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/8xx_io/fec.c
Original file line number Diff line number Diff line change
Expand Up @@ -1878,7 +1878,7 @@ fec_restart(struct net_device *dev, int duplex)
bdp--;
bdp->cbd_sc |= BD_SC_WRAP;

/* ...and the same for transmmit.
/* ...and the same for transmit.
*/
bdp = fep->tx_bd_base;
for (i=0; i<TX_RING_SIZE; i++) {
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/lib/vreset.c
Original file line number Diff line number Diff line change
Expand Up @@ -518,7 +518,7 @@ setTextRegs(struct VgaRegs *svp)
outb(0x3c6, 0xff); /* MASK */

for ( i = 0; i < 0x10; i++)
writeAttr(i, AC[i], 0); /* pallete */
writeAttr(i, AC[i], 0); /* palette */
writeAttr(0x10, 0x0c, 0); /* text mode */
writeAttr(0x11, 0x00, 0); /* overscan color (border) */
writeAttr(0x12, 0x0f, 0); /* plane enable */
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/simple/m8xx_tty.c
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/* Minimal serial functions needed to send messages out the serial
* port on the MBX console.
*
* The MBX uxes SMC1 for the serial port. We reset the port and use
* The MBX uses SMC1 for the serial port. We reset the port and use
* only the first BD that EPPC-Bug set up as a character FIFO.
*
* Later versions (at least 1.4, maybe earlier) of the MBX EPPC-Bug
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/simple/misc-embedded.c
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, bd_t *b

/*
* We link ourself to an arbitrary low address. When we run, we
* relocate outself to that address. __image_being points to
* relocate ourself to that address. __image_being points to
* the part of the image where the zImage is. -- Tom
*/
zimage_start = (char *)(unsigned long)(&__image_begin);
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/simple/mpc52xx_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ static struct mpc52xx_psc __iomem *psc =
* rtc. We read the decrementer change during one rtc tick
* and multiply by 4 to get the system bus clock frequency. Since a
* rtc tick is one seconds, and that's pretty long, we change the rtc
* dividers temporarly to set them 64x faster ;)
* dividers temporarily to set them 64x faster ;)
*/
static int
mpc52xx_ipbfreq(void)
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/simple/mv64x60_tty.c
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ serial_tstc(unsigned long com_port)

rdp = &rd[com_port][cur_rd[com_port]];

/* Go thru rcv desc's until empty looking for one with data (no error)*/
/* Go through rcv descs until empty looking for one with data (no error)*/
while (((rdp->cmd_stat & SDMA_DESC_CMDSTAT_O) == 0) &&
(loop_count++ < RX_NUM_DESC)) {

Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/boot/simple/rw4/stb.h
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@
/*----------------------------------------------------------------------------+
| STB tasks, task stack sizes, and task priorities. The actual task priority
| is 1 more than the specified number since priority 0 is reserved (system
| internaly adds 1 to supplied priority number).
| internally adds 1 to supplied priority number).
+----------------------------------------------------------------------------*/
#define STB_IDLE_TASK_SS (5* 1024)
#define STB_IDLE_TASK_PRIO 0
Expand Down
4 changes: 2 additions & 2 deletions arch/ppc/kernel/traps.c
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ void program_check_exception(struct pt_regs *regs)
* ESR_DST (!?) or 0. In the process of chasing this with the
* hardware people - not sure if it can happen on any illegal
* instruction or only on FP instructions, whether there is a
* pattern to occurences etc. -dgibson 31/Mar/2003 */
* pattern to occurrences etc. -dgibson 31/Mar/2003 */
if (!(reason & REASON_TRAP) && do_mathemu(regs) == 0) {
emulate_single_step(regs);
return;
Expand Down Expand Up @@ -860,7 +860,7 @@ void SPEFloatingPointException(struct pt_regs *regs)
spefscr = current->thread.spefscr;
fpexc_mode = current->thread.fpexc_mode;

/* Hardware does not neccessarily set sticky
/* Hardware does not necessarily set sticky
* underflow/overflow/invalid flags */
if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) {
code = FPE_FLTOVF;
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/mm/init.c
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
#include "mmu_decl.h"

#if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL)
/* The ammount of lowmem must be within 0xF0000000 - KERNELBASE. */
/* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */
#if (CONFIG_LOWMEM_SIZE > (0xF0000000 - KERNELBASE))
#error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL"
#endif
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/bubinga.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip)
hose->first_busno, PCI_SLOT(hose->first_busno),
PCI_FUNC(hose->first_busno), bar, bar_response);
}
/* end work arround */
/* end workaround */

#ifdef DEBUG
printk("PCI bridge regs after fixup \n");
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/ep405.c
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip)
hose->first_busno, PCI_SLOT(hose->first_busno),
PCI_FUNC(hose->first_busno), bar, bar_response);
}
/* end work arround */
/* end workaround */
#endif
}

Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/ibmnp405h.h
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
#define DCRN_CPMFR_BASE 0x0B9
#define DCRN_CPMER_BASE 0x0B8

/* CPM Clocking & Power Mangement defines */
/* CPM Clocking & Power Management defines */
#define IBM_CPM_PCI 0x40000000 /* PCI */
#define IBM_CPM_EMAC2 0x20000000 /* EMAC 2 MII */
#define IBM_CPM_EMAC3 0x04000000 /* EMAC 3 MII */
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/sycamore.c
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip)
hose->first_busno, PCI_SLOT(hose->first_busno),
PCI_FUNC(hose->first_busno), bar, bar_response);
}
/* end work arround */
/* end workaround */

#ifdef DEBUG
printk("PCI bridge regs after fixup \n");
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/4xx/walnut.c
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip)
hose->first_busno, PCI_SLOT(hose->first_busno),
PCI_FUNC(hose->first_busno), bar, bar_response);
}
/* end work arround */
/* end work around */

#ifdef DEBUG
printk("PCI bridge regs after fixup \n");
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/ev64360.c
Original file line number Diff line number Diff line change
Expand Up @@ -473,7 +473,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
* are non-zero, then we should use the board info from the bd_t
* structure and the cmdline pointed to by r6 instead of the
* information from birecs, if any. Otherwise, use the information
* from birecs as discovered by the preceeding call to
* from birecs as discovered by the preceding call to
* parse_bootinfo(). This rule should work with both PPCBoot, which
* uses a bd_t board info structure, and the kernel boot wrapper,
* which uses birecs.
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/hdpu.c
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ static void __init hdpu_setup_peripherals(void)

/* Enable pipelining */
mv64x60_set_bits(&bh, MV64x60_CPU_CONFIG, (1 << 13));
/* Enable Snoop Pipelineing */
/* Enable Snoop Pipelining */
mv64x60_set_bits(&bh, MV64360_D_UNIT_CONTROL_HIGH, (1 << 24));

/*
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/katana.c
Original file line number Diff line number Diff line change
Expand Up @@ -880,7 +880,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
* are non-zero, then we should use the board info from the bd_t
* structure and the cmdline pointed to by r6 instead of the
* information from birecs, if any. Otherwise, use the information
* from birecs as discovered by the preceeding call to
* from birecs as discovered by the preceding call to
* parse_bootinfo(). This rule should work with both PPCBoot, which
* uses a bd_t board info structure, and the kernel boot wrapper,
* which uses birecs.
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/mbx.h
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ typedef struct bd_info {

/* Memory map for the MBX as configured by EPPC-Bug. We could reprogram
* The SIU and PCI bridge, and try to use larger MMU pages, but the
* performance gain is not measureable and it certainly complicates the
* performance gain is not measurable and it certainly complicates the
* generic MMU model.
*
* In a effort to minimize memory usage for embedded applications, any
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/mvme5100.h
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@

#define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF

/* All UART IRQ's are wire-OR'd to one MPIC IRQ */
/* All UART IRQs are wire-OR'd to one MPIC IRQ */
#define STD_SERIAL_PORT_DFNS \
{ 0, BASE_BAUD, MVME5100_SERIAL_1, \
MVME5100_SERIAL_IRQ, \
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/pplus.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
#include <asm/io.h>

/*
* Due to limiations imposed by legacy hardware (primaryily IDE controllers),
* Due to limitations imposed by legacy hardware (primarily IDE controllers),
* the PPLUS boards operate using a PReP address map.
*
* From Processor (physical) -> PCI:
Expand Down
22 changes: 11 additions & 11 deletions arch/ppc/platforms/prep_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -589,9 +589,9 @@ static unsigned char prep_pci_intpins[4][4] =
{ 4, 1, 2, 3}, /* Buses 3, 7, 11 ... */
};

/* We have to turn on LEVEL mode for changed IRQ's */
/* All PCI IRQ's need to be level mode, so this should be something
* other than hard-coded as well... IRQ's are individually mappable
/* We have to turn on LEVEL mode for changed IRQs */
/* All PCI IRQs need to be level mode, so this should be something
* other than hard-coded as well... IRQs are individually mappable
* to either edge or level.
*/

Expand Down Expand Up @@ -923,8 +923,8 @@ prep_sandalfoot_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi)
Motherboard_map_name = "IBM 6015/7020 (Sandalfoot/Sandalbow)";
Motherboard_map = ibm6015_pci_IRQ_map;
Motherboard_routes = ibm6015_pci_IRQ_routes;
*irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */
*irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */
}

void __init
Expand All @@ -933,8 +933,8 @@ prep_thinkpad_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi)
Motherboard_map_name = "IBM Thinkpad 850/860";
Motherboard_map = Nobis_pci_IRQ_map;
Motherboard_routes = Nobis_pci_IRQ_routes;
*irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */
*irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */
}

void __init
Expand All @@ -943,8 +943,8 @@ prep_carolina_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi)
Motherboard_map_name = "IBM 7248, PowerSeries 830/850 (Carolina)";
Motherboard_map = ibm8xx_pci_IRQ_map;
Motherboard_routes = ibm8xx_pci_IRQ_routes;
*irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA4; /* irq's 10, 13, 15 level-triggered */
*irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA4; /* IRQs 10, 13, 15 level-triggered */
}

void __init
Expand All @@ -954,8 +954,8 @@ prep_tiger1_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi)
Motherboard_map = ibm43p_pci_IRQ_map;
Motherboard_routes = ibm43p_pci_IRQ_routes;
Motherboard_non0 = ibm43p_pci_map_non0;
*irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */
*irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */
*irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */
}

void __init
Expand Down
6 changes: 3 additions & 3 deletions arch/ppc/platforms/prep_setup.c
Original file line number Diff line number Diff line change
Expand Up @@ -593,7 +593,7 @@ static void __init prep_init_sound(void)
PPC_DEVICE *audiodevice = NULL;

/*
* Get the needed resource informations from residual data.
* Get the needed resource information from residual data.
*
*/
if (have_residual_data)
Expand Down Expand Up @@ -632,9 +632,9 @@ static void __init prep_init_sound(void)
}

/*
* Find a way to push these informations to the cs4232 driver
* Find a way to push this information to the cs4232 driver
* Give it out with printk, when not in cmd_line?
* Append it to cmd_line and boot_command_line?
* Append it to cmd_line and boot_command_line?
* Format is cs4232=io,irq,dma,dma2
*/
}
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/prpmc750.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
#define __ASM_PRPMC750_H__

/*
* Due to limiations imposed by legacy hardware (primaryily IDE controllers),
* Due to limitations imposed by legacy hardware (primarily IDE controllers),
* the PrPMC750 carrier board operates using a PReP address map.
*
* From Processor (physical) -> PCI:
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/platforms/radstone_ppc7d.c
Original file line number Diff line number Diff line change
Expand Up @@ -1371,7 +1371,7 @@ void __init platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
* are non-zero, then we should use the board info from the bd_t
* structure and the cmdline pointed to by r6 instead of the
* information from birecs, if any. Otherwise, use the information
* from birecs as discovered by the preceeding call to
* from birecs as discovered by the preceding call to
* parse_bootinfo(). This rule should work with both PPCBoot, which
* uses a bd_t board info structure, and the kernel boot wrapper,
* which uses birecs.
Expand Down
8 changes: 4 additions & 4 deletions arch/ppc/platforms/sandpoint.c
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
*
*
* Motorola has finally released a version of DINK32 that correctly
* (seemingly) initalizes the memory controller correctly, regardless
* (seemingly) initializes the memory controller correctly, regardless
* of the amount of memory in the system. Once a method of determining
* what version of DINK initializes the system for us, if applicable, is
* found, we can hopefully stop hardcoding 32MB of RAM.
Expand Down Expand Up @@ -473,7 +473,7 @@ sandpoint_request_io(void)
arch_initcall(sandpoint_request_io);

/*
* Interrupt setup and service. Interrrupts on the Sandpoint come
* Interrupt setup and service. Interrupts on the Sandpoint come
* from the four PCI slots plus the 8259 in the Winbond Super I/O (SIO).
* The 8259 is cascaded from EPIC IRQ0, IRQ1-4 map to PCI slots 1-4,
* IDE is on EPIC 7 and 8.
Expand Down Expand Up @@ -505,7 +505,7 @@ sandpoint_find_end_of_memory(void)
if (bp->bi_memsize)
return bp->bi_memsize;

/* DINK32 13.0 correctly initalizes things, so iff you use
/* DINK32 13.0 correctly initializes things, so iff you use
* this you _should_ be able to change this instead of a
* hardcoded value. */
#if 0
Expand Down Expand Up @@ -677,7 +677,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5,
* are non-zero, then we should use the board info from the bd_t
* structure and the cmdline pointed to by r6 instead of the
* information from birecs, if any. Otherwise, use the information
* from birecs as discovered by the preceeding call to
* from birecs as discovered by the preceding call to
* parse_bootinfo(). This rule should work with both PPCBoot, which
* uses a bd_t board info structure, and the kernel boot wrapper,
* which uses birecs.
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/syslib/harrier.c
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@ harrier_init(struct pci_controller *hose,
* This assumes that PPCBug has initialized the memory controller (SMC)
* on the Harrier correctly (i.e., it does no sanity checking).
* It also assumes that the memory base registers are set to configure the
* memory as contigous starting with "RAM A BASE", "RAM B BASE", etc.
* memory as contiguous starting with "RAM A BASE", "RAM B BASE", etc.
* however, RAM base registers can be skipped (e.g. A, B, C are set,
* D is skipped but E is set is okay).
*/
Expand Down
4 changes: 2 additions & 2 deletions arch/ppc/syslib/hawk_common.c
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ hawk_init(struct pci_controller *hose,
processor_pci_mem_start +
hose->mem_space.start) | 0x0);

/* Map MPIC into vitual memory */
/* Map MPIC into virtual memory */
OpenPIC_Addr = ioremap(processor_mpic_base, HAWK_MPIC_SIZE);

return 0;
Expand All @@ -176,7 +176,7 @@ hawk_init(struct pci_controller *hose,
* This assumes that PPCBug has initialized the memory controller (SMC)
* on the Falcon/HAWK correctly (i.e., it does no sanity checking).
* It also assumes that the memory base registers are set to configure the
* memory as contigous starting with "RAM A BASE", "RAM B BASE", etc.
* memory as contiguous starting with "RAM A BASE", "RAM B BASE", etc.
* however, RAM base registers can be skipped (e.g. A, B, C are set,
* D is skipped but E is set is okay).
*/
Expand Down
2 changes: 1 addition & 1 deletion arch/ppc/syslib/m82xx_pci.c
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ pq2ads_setup_pci(struct pci_controller *hose)
CPM high 0b0000
CPM middle 0b0001
CPM low 0b0010
PCI reguest 0b0011
PCI request 0b0011
Reserved 0b0100
Reserved 0b0101
Internal Core 0b0110
Expand Down
Loading

0 comments on commit a8de5ce

Please sign in to comment.