diff options
author | Simon Arlott <simon@fire.lp0.eu> | 2007-05-11 15:42:54 -0400 |
---|---|---|
committer | Paul Mackerras <paulus@samba.org> | 2007-05-11 21:32:49 -0400 |
commit | a8de5ce9895367191df9b30804a0c67cfcc9f27a (patch) | |
tree | 8f99af81affca30d868bd9ee7c043639b905c4f8 /arch | |
parent | dab4d7984ee61c8eb25569b12e7a996f5aaef2ba (diff) |
[POWERPC] Spelling fixes: arch/ppc/
Spelling fixes in arch/ppc/.
Signed-off-by: Simon Arlott <simon@fire.lp0.eu>
Signed-off-by: Paul Mackerras <paulus@samba.org>
Diffstat (limited to 'arch')
40 files changed, 67 insertions, 67 deletions
diff --git a/arch/ppc/4xx_io/serial_sicc.c b/arch/ppc/4xx_io/serial_sicc.c index e35483961b90..efa0a56e230b 100644 --- a/arch/ppc/4xx_io/serial_sicc.c +++ b/arch/ppc/4xx_io/serial_sicc.c | |||
@@ -3,7 +3,7 @@ | |||
3 | * | 3 | * |
4 | * Based on drivers/char/serial_amba.c, by ARM Ltd. | 4 | * Based on drivers/char/serial_amba.c, by ARM Ltd. |
5 | * | 5 | * |
6 | * Copyright 2001 IBM Crop. | 6 | * Copyright 2001 IBM Corp. |
7 | * Author: IBM China Research Lab | 7 | * Author: IBM China Research Lab |
8 | * Yudong Yang <yangyud@cn.ibm.com> | 8 | * Yudong Yang <yangyud@cn.ibm.com> |
9 | * Yi Ge <geyi@cn.ibm.com> | 9 | * Yi Ge <geyi@cn.ibm.com> |
@@ -155,16 +155,16 @@ | |||
155 | 155 | ||
156 | /* serial port transmit command register */ | 156 | /* serial port transmit command register */ |
157 | 157 | ||
158 | #define _TxCR_ET_MASK 0x80 /* transmiter enable mask */ | 158 | #define _TxCR_ET_MASK 0x80 /* transmitter enable mask */ |
159 | #define _TxCR_DME_MASK 0x60 /* dma mode mask */ | 159 | #define _TxCR_DME_MASK 0x60 /* dma mode mask */ |
160 | #define _TxCR_TIE_MASK 0x10 /* empty interrupt enable mask */ | 160 | #define _TxCR_TIE_MASK 0x10 /* empty interrupt enable mask */ |
161 | #define _TxCR_EIE_MASK 0x08 /* error interrupt enable mask */ | 161 | #define _TxCR_EIE_MASK 0x08 /* error interrupt enable mask */ |
162 | #define _TxCR_SPE_MASK 0x04 /* stop/pause mask */ | 162 | #define _TxCR_SPE_MASK 0x04 /* stop/pause mask */ |
163 | #define _TxCR_TB_MASK 0x02 /* transmit break mask */ | 163 | #define _TxCR_TB_MASK 0x02 /* transmit break mask */ |
164 | 164 | ||
165 | #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmiter enabled */ | 165 | #define _TxCR_ET_ENABLE _TxCR_ET_MASK /* transmitter enabled */ |
166 | #define _TxCR_DME_DISABLE 0x00 /* transmiter disabled, TBR intr disabled */ | 166 | #define _TxCR_DME_DISABLE 0x00 /* transmitter disabled, TBR intr disabled */ |
167 | #define _TxCR_DME_TBR 0x20 /* transmiter disabled, TBR intr enabled */ | 167 | #define _TxCR_DME_TBR 0x20 /* transmitter disabled, TBR intr enabled */ |
168 | #define _TxCR_DME_CHAN_2 0x40 /* dma enabled, destination chann 2 */ | 168 | #define _TxCR_DME_CHAN_2 0x40 /* dma enabled, destination chann 2 */ |
169 | #define _TxCR_DME_CHAN_3 0x60 /* dma enabled, destination chann 3 */ | 169 | #define _TxCR_DME_CHAN_3 0x60 /* dma enabled, destination chann 3 */ |
170 | 170 | ||
diff --git a/arch/ppc/8xx_io/commproc.c b/arch/ppc/8xx_io/commproc.c index e2c6210f234b..7088428e1fe2 100644 --- a/arch/ppc/8xx_io/commproc.c +++ b/arch/ppc/8xx_io/commproc.c | |||
@@ -144,7 +144,7 @@ m8xx_cpm_reset(void) | |||
144 | 144 | ||
145 | /* Set SDMA Bus Request priority 5. | 145 | /* Set SDMA Bus Request priority 5. |
146 | * On 860T, this also enables FEC priority 6. I am not sure | 146 | * On 860T, this also enables FEC priority 6. I am not sure |
147 | * this is what we realy want for some applications, but the | 147 | * this is what we really want for some applications, but the |
148 | * manual recommends it. | 148 | * manual recommends it. |
149 | * Bit 25, FAM can also be set to use FEC aggressive mode (860T). | 149 | * Bit 25, FAM can also be set to use FEC aggressive mode (860T). |
150 | */ | 150 | */ |
diff --git a/arch/ppc/8xx_io/fec.c b/arch/ppc/8xx_io/fec.c index 57a9a61e54b5..d38335d2d710 100644 --- a/arch/ppc/8xx_io/fec.c +++ b/arch/ppc/8xx_io/fec.c | |||
@@ -1878,7 +1878,7 @@ fec_restart(struct net_device *dev, int duplex) | |||
1878 | bdp--; | 1878 | bdp--; |
1879 | bdp->cbd_sc |= BD_SC_WRAP; | 1879 | bdp->cbd_sc |= BD_SC_WRAP; |
1880 | 1880 | ||
1881 | /* ...and the same for transmmit. | 1881 | /* ...and the same for transmit. |
1882 | */ | 1882 | */ |
1883 | bdp = fep->tx_bd_base; | 1883 | bdp = fep->tx_bd_base; |
1884 | for (i=0; i<TX_RING_SIZE; i++) { | 1884 | for (i=0; i<TX_RING_SIZE; i++) { |
diff --git a/arch/ppc/boot/lib/vreset.c b/arch/ppc/boot/lib/vreset.c index 463ba001fb9b..98539e9f7f96 100644 --- a/arch/ppc/boot/lib/vreset.c +++ b/arch/ppc/boot/lib/vreset.c | |||
@@ -518,7 +518,7 @@ setTextRegs(struct VgaRegs *svp) | |||
518 | outb(0x3c6, 0xff); /* MASK */ | 518 | outb(0x3c6, 0xff); /* MASK */ |
519 | 519 | ||
520 | for ( i = 0; i < 0x10; i++) | 520 | for ( i = 0; i < 0x10; i++) |
521 | writeAttr(i, AC[i], 0); /* pallete */ | 521 | writeAttr(i, AC[i], 0); /* palette */ |
522 | writeAttr(0x10, 0x0c, 0); /* text mode */ | 522 | writeAttr(0x10, 0x0c, 0); /* text mode */ |
523 | writeAttr(0x11, 0x00, 0); /* overscan color (border) */ | 523 | writeAttr(0x11, 0x00, 0); /* overscan color (border) */ |
524 | writeAttr(0x12, 0x0f, 0); /* plane enable */ | 524 | writeAttr(0x12, 0x0f, 0); /* plane enable */ |
diff --git a/arch/ppc/boot/simple/m8xx_tty.c b/arch/ppc/boot/simple/m8xx_tty.c index cacc40fdbcfa..ea615d8ca541 100644 --- a/arch/ppc/boot/simple/m8xx_tty.c +++ b/arch/ppc/boot/simple/m8xx_tty.c | |||
@@ -1,7 +1,7 @@ | |||
1 | /* Minimal serial functions needed to send messages out the serial | 1 | /* Minimal serial functions needed to send messages out the serial |
2 | * port on the MBX console. | 2 | * port on the MBX console. |
3 | * | 3 | * |
4 | * The MBX uxes SMC1 for the serial port. We reset the port and use | 4 | * The MBX uses SMC1 for the serial port. We reset the port and use |
5 | * only the first BD that EPPC-Bug set up as a character FIFO. | 5 | * only the first BD that EPPC-Bug set up as a character FIFO. |
6 | * | 6 | * |
7 | * Later versions (at least 1.4, maybe earlier) of the MBX EPPC-Bug | 7 | * Later versions (at least 1.4, maybe earlier) of the MBX EPPC-Bug |
diff --git a/arch/ppc/boot/simple/misc-embedded.c b/arch/ppc/boot/simple/misc-embedded.c index 10219eeca054..8a08ad397ed5 100644 --- a/arch/ppc/boot/simple/misc-embedded.c +++ b/arch/ppc/boot/simple/misc-embedded.c | |||
@@ -136,7 +136,7 @@ load_kernel(unsigned long load_addr, int num_words, unsigned long cksum, bd_t *b | |||
136 | 136 | ||
137 | /* | 137 | /* |
138 | * We link ourself to an arbitrary low address. When we run, we | 138 | * We link ourself to an arbitrary low address. When we run, we |
139 | * relocate outself to that address. __image_being points to | 139 | * relocate ourself to that address. __image_being points to |
140 | * the part of the image where the zImage is. -- Tom | 140 | * the part of the image where the zImage is. -- Tom |
141 | */ | 141 | */ |
142 | zimage_start = (char *)(unsigned long)(&__image_begin); | 142 | zimage_start = (char *)(unsigned long)(&__image_begin); |
diff --git a/arch/ppc/boot/simple/mpc52xx_tty.c b/arch/ppc/boot/simple/mpc52xx_tty.c index 7b5924cc3c02..6955891fb031 100644 --- a/arch/ppc/boot/simple/mpc52xx_tty.c +++ b/arch/ppc/boot/simple/mpc52xx_tty.c | |||
@@ -33,7 +33,7 @@ static struct mpc52xx_psc __iomem *psc = | |||
33 | * rtc. We read the decrementer change during one rtc tick | 33 | * rtc. We read the decrementer change during one rtc tick |
34 | * and multiply by 4 to get the system bus clock frequency. Since a | 34 | * and multiply by 4 to get the system bus clock frequency. Since a |
35 | * rtc tick is one seconds, and that's pretty long, we change the rtc | 35 | * rtc tick is one seconds, and that's pretty long, we change the rtc |
36 | * dividers temporarly to set them 64x faster ;) | 36 | * dividers temporarily to set them 64x faster ;) |
37 | */ | 37 | */ |
38 | static int | 38 | static int |
39 | mpc52xx_ipbfreq(void) | 39 | mpc52xx_ipbfreq(void) |
diff --git a/arch/ppc/boot/simple/mv64x60_tty.c b/arch/ppc/boot/simple/mv64x60_tty.c index 781e040a97d1..8a735787a6e9 100644 --- a/arch/ppc/boot/simple/mv64x60_tty.c +++ b/arch/ppc/boot/simple/mv64x60_tty.c | |||
@@ -338,7 +338,7 @@ serial_tstc(unsigned long com_port) | |||
338 | 338 | ||
339 | rdp = &rd[com_port][cur_rd[com_port]]; | 339 | rdp = &rd[com_port][cur_rd[com_port]]; |
340 | 340 | ||
341 | /* Go thru rcv desc's until empty looking for one with data (no error)*/ | 341 | /* Go through rcv descs until empty looking for one with data (no error)*/ |
342 | while (((rdp->cmd_stat & SDMA_DESC_CMDSTAT_O) == 0) && | 342 | while (((rdp->cmd_stat & SDMA_DESC_CMDSTAT_O) == 0) && |
343 | (loop_count++ < RX_NUM_DESC)) { | 343 | (loop_count++ < RX_NUM_DESC)) { |
344 | 344 | ||
diff --git a/arch/ppc/boot/simple/rw4/stb.h b/arch/ppc/boot/simple/rw4/stb.h index fd98ee0f843e..9afa5ab24d26 100644 --- a/arch/ppc/boot/simple/rw4/stb.h +++ b/arch/ppc/boot/simple/rw4/stb.h | |||
@@ -88,7 +88,7 @@ | |||
88 | /*----------------------------------------------------------------------------+ | 88 | /*----------------------------------------------------------------------------+ |
89 | | STB tasks, task stack sizes, and task priorities. The actual task priority | 89 | | STB tasks, task stack sizes, and task priorities. The actual task priority |
90 | | is 1 more than the specified number since priority 0 is reserved (system | 90 | | is 1 more than the specified number since priority 0 is reserved (system |
91 | | internaly adds 1 to supplied priority number). | 91 | | internally adds 1 to supplied priority number). |
92 | +----------------------------------------------------------------------------*/ | 92 | +----------------------------------------------------------------------------*/ |
93 | #define STB_IDLE_TASK_SS (5* 1024) | 93 | #define STB_IDLE_TASK_SS (5* 1024) |
94 | #define STB_IDLE_TASK_PRIO 0 | 94 | #define STB_IDLE_TASK_PRIO 0 |
diff --git a/arch/ppc/kernel/traps.c b/arch/ppc/kernel/traps.c index 810f7aa72e92..aea100be52c8 100644 --- a/arch/ppc/kernel/traps.c +++ b/arch/ppc/kernel/traps.c | |||
@@ -577,7 +577,7 @@ void program_check_exception(struct pt_regs *regs) | |||
577 | * ESR_DST (!?) or 0. In the process of chasing this with the | 577 | * ESR_DST (!?) or 0. In the process of chasing this with the |
578 | * hardware people - not sure if it can happen on any illegal | 578 | * hardware people - not sure if it can happen on any illegal |
579 | * instruction or only on FP instructions, whether there is a | 579 | * instruction or only on FP instructions, whether there is a |
580 | * pattern to occurences etc. -dgibson 31/Mar/2003 */ | 580 | * pattern to occurrences etc. -dgibson 31/Mar/2003 */ |
581 | if (!(reason & REASON_TRAP) && do_mathemu(regs) == 0) { | 581 | if (!(reason & REASON_TRAP) && do_mathemu(regs) == 0) { |
582 | emulate_single_step(regs); | 582 | emulate_single_step(regs); |
583 | return; | 583 | return; |
@@ -860,7 +860,7 @@ void SPEFloatingPointException(struct pt_regs *regs) | |||
860 | spefscr = current->thread.spefscr; | 860 | spefscr = current->thread.spefscr; |
861 | fpexc_mode = current->thread.fpexc_mode; | 861 | fpexc_mode = current->thread.fpexc_mode; |
862 | 862 | ||
863 | /* Hardware does not neccessarily set sticky | 863 | /* Hardware does not necessarily set sticky |
864 | * underflow/overflow/invalid flags */ | 864 | * underflow/overflow/invalid flags */ |
865 | if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { | 865 | if ((spefscr & SPEFSCR_FOVF) && (fpexc_mode & PR_FP_EXC_OVF)) { |
866 | code = FPE_FLTOVF; | 866 | code = FPE_FLTOVF; |
diff --git a/arch/ppc/mm/init.c b/arch/ppc/mm/init.c index c374e53ae03a..390dd1995c2a 100644 --- a/arch/ppc/mm/init.c +++ b/arch/ppc/mm/init.c | |||
@@ -48,7 +48,7 @@ | |||
48 | #include "mmu_decl.h" | 48 | #include "mmu_decl.h" |
49 | 49 | ||
50 | #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) | 50 | #if defined(CONFIG_KERNEL_START_BOOL) || defined(CONFIG_LOWMEM_SIZE_BOOL) |
51 | /* The ammount of lowmem must be within 0xF0000000 - KERNELBASE. */ | 51 | /* The amount of lowmem must be within 0xF0000000 - KERNELBASE. */ |
52 | #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - KERNELBASE)) | 52 | #if (CONFIG_LOWMEM_SIZE > (0xF0000000 - KERNELBASE)) |
53 | #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL" | 53 | #error "You must adjust CONFIG_LOWMEM_SIZE or CONFIG_START_KERNEL" |
54 | #endif | 54 | #endif |
diff --git a/arch/ppc/platforms/4xx/bubinga.c b/arch/ppc/platforms/4xx/bubinga.c index 75857b38e894..1a7f075b754f 100644 --- a/arch/ppc/platforms/4xx/bubinga.c +++ b/arch/ppc/platforms/4xx/bubinga.c | |||
@@ -197,7 +197,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) | |||
197 | hose->first_busno, PCI_SLOT(hose->first_busno), | 197 | hose->first_busno, PCI_SLOT(hose->first_busno), |
198 | PCI_FUNC(hose->first_busno), bar, bar_response); | 198 | PCI_FUNC(hose->first_busno), bar, bar_response); |
199 | } | 199 | } |
200 | /* end work arround */ | 200 | /* end workaround */ |
201 | 201 | ||
202 | #ifdef DEBUG | 202 | #ifdef DEBUG |
203 | printk("PCI bridge regs after fixup \n"); | 203 | printk("PCI bridge regs after fixup \n"); |
diff --git a/arch/ppc/platforms/4xx/ep405.c b/arch/ppc/platforms/4xx/ep405.c index e5adf9ba1fca..5aa295022804 100644 --- a/arch/ppc/platforms/4xx/ep405.c +++ b/arch/ppc/platforms/4xx/ep405.c | |||
@@ -130,7 +130,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) | |||
130 | hose->first_busno, PCI_SLOT(hose->first_busno), | 130 | hose->first_busno, PCI_SLOT(hose->first_busno), |
131 | PCI_FUNC(hose->first_busno), bar, bar_response); | 131 | PCI_FUNC(hose->first_busno), bar, bar_response); |
132 | } | 132 | } |
133 | /* end work arround */ | 133 | /* end workaround */ |
134 | #endif | 134 | #endif |
135 | } | 135 | } |
136 | 136 | ||
diff --git a/arch/ppc/platforms/4xx/ibmnp405h.h b/arch/ppc/platforms/4xx/ibmnp405h.h index 4aa8821b478b..08a6a7791903 100644 --- a/arch/ppc/platforms/4xx/ibmnp405h.h +++ b/arch/ppc/platforms/4xx/ibmnp405h.h | |||
@@ -80,7 +80,7 @@ | |||
80 | #define DCRN_CPMFR_BASE 0x0B9 | 80 | #define DCRN_CPMFR_BASE 0x0B9 |
81 | #define DCRN_CPMER_BASE 0x0B8 | 81 | #define DCRN_CPMER_BASE 0x0B8 |
82 | 82 | ||
83 | /* CPM Clocking & Power Mangement defines */ | 83 | /* CPM Clocking & Power Management defines */ |
84 | #define IBM_CPM_PCI 0x40000000 /* PCI */ | 84 | #define IBM_CPM_PCI 0x40000000 /* PCI */ |
85 | #define IBM_CPM_EMAC2 0x20000000 /* EMAC 2 MII */ | 85 | #define IBM_CPM_EMAC2 0x20000000 /* EMAC 2 MII */ |
86 | #define IBM_CPM_EMAC3 0x04000000 /* EMAC 3 MII */ | 86 | #define IBM_CPM_EMAC3 0x04000000 /* EMAC 3 MII */ |
diff --git a/arch/ppc/platforms/4xx/sycamore.c b/arch/ppc/platforms/4xx/sycamore.c index c47493e344c2..8689f3e8ef3a 100644 --- a/arch/ppc/platforms/4xx/sycamore.c +++ b/arch/ppc/platforms/4xx/sycamore.c | |||
@@ -225,7 +225,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) | |||
225 | hose->first_busno, PCI_SLOT(hose->first_busno), | 225 | hose->first_busno, PCI_SLOT(hose->first_busno), |
226 | PCI_FUNC(hose->first_busno), bar, bar_response); | 226 | PCI_FUNC(hose->first_busno), bar, bar_response); |
227 | } | 227 | } |
228 | /* end work arround */ | 228 | /* end workaround */ |
229 | 229 | ||
230 | #ifdef DEBUG | 230 | #ifdef DEBUG |
231 | printk("PCI bridge regs after fixup \n"); | 231 | printk("PCI bridge regs after fixup \n"); |
diff --git a/arch/ppc/platforms/4xx/walnut.c b/arch/ppc/platforms/4xx/walnut.c index f414d2d4c58e..2f9772340854 100644 --- a/arch/ppc/platforms/4xx/walnut.c +++ b/arch/ppc/platforms/4xx/walnut.c | |||
@@ -200,7 +200,7 @@ bios_fixup(struct pci_controller *hose, struct pcil0_regs *pcip) | |||
200 | hose->first_busno, PCI_SLOT(hose->first_busno), | 200 | hose->first_busno, PCI_SLOT(hose->first_busno), |
201 | PCI_FUNC(hose->first_busno), bar, bar_response); | 201 | PCI_FUNC(hose->first_busno), bar, bar_response); |
202 | } | 202 | } |
203 | /* end work arround */ | 203 | /* end work around */ |
204 | 204 | ||
205 | #ifdef DEBUG | 205 | #ifdef DEBUG |
206 | printk("PCI bridge regs after fixup \n"); | 206 | printk("PCI bridge regs after fixup \n"); |
diff --git a/arch/ppc/platforms/ev64360.c b/arch/ppc/platforms/ev64360.c index f87e06f6bab9..f8baf05f16ce 100644 --- a/arch/ppc/platforms/ev64360.c +++ b/arch/ppc/platforms/ev64360.c | |||
@@ -473,7 +473,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
473 | * are non-zero, then we should use the board info from the bd_t | 473 | * are non-zero, then we should use the board info from the bd_t |
474 | * structure and the cmdline pointed to by r6 instead of the | 474 | * structure and the cmdline pointed to by r6 instead of the |
475 | * information from birecs, if any. Otherwise, use the information | 475 | * information from birecs, if any. Otherwise, use the information |
476 | * from birecs as discovered by the preceeding call to | 476 | * from birecs as discovered by the preceding call to |
477 | * parse_bootinfo(). This rule should work with both PPCBoot, which | 477 | * parse_bootinfo(). This rule should work with both PPCBoot, which |
478 | * uses a bd_t board info structure, and the kernel boot wrapper, | 478 | * uses a bd_t board info structure, and the kernel boot wrapper, |
479 | * which uses birecs. | 479 | * which uses birecs. |
diff --git a/arch/ppc/platforms/hdpu.c b/arch/ppc/platforms/hdpu.c index d809e17aa536..ca5de13712fd 100644 --- a/arch/ppc/platforms/hdpu.c +++ b/arch/ppc/platforms/hdpu.c | |||
@@ -144,7 +144,7 @@ static void __init hdpu_setup_peripherals(void) | |||
144 | 144 | ||
145 | /* Enable pipelining */ | 145 | /* Enable pipelining */ |
146 | mv64x60_set_bits(&bh, MV64x60_CPU_CONFIG, (1 << 13)); | 146 | mv64x60_set_bits(&bh, MV64x60_CPU_CONFIG, (1 << 13)); |
147 | /* Enable Snoop Pipelineing */ | 147 | /* Enable Snoop Pipelining */ |
148 | mv64x60_set_bits(&bh, MV64360_D_UNIT_CONTROL_HIGH, (1 << 24)); | 148 | mv64x60_set_bits(&bh, MV64360_D_UNIT_CONTROL_HIGH, (1 << 24)); |
149 | 149 | ||
150 | /* | 150 | /* |
diff --git a/arch/ppc/platforms/katana.c b/arch/ppc/platforms/katana.c index 720f8b3e2fbc..c289e9f1b251 100644 --- a/arch/ppc/platforms/katana.c +++ b/arch/ppc/platforms/katana.c | |||
@@ -880,7 +880,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
880 | * are non-zero, then we should use the board info from the bd_t | 880 | * are non-zero, then we should use the board info from the bd_t |
881 | * structure and the cmdline pointed to by r6 instead of the | 881 | * structure and the cmdline pointed to by r6 instead of the |
882 | * information from birecs, if any. Otherwise, use the information | 882 | * information from birecs, if any. Otherwise, use the information |
883 | * from birecs as discovered by the preceeding call to | 883 | * from birecs as discovered by the preceding call to |
884 | * parse_bootinfo(). This rule should work with both PPCBoot, which | 884 | * parse_bootinfo(). This rule should work with both PPCBoot, which |
885 | * uses a bd_t board info structure, and the kernel boot wrapper, | 885 | * uses a bd_t board info structure, and the kernel boot wrapper, |
886 | * which uses birecs. | 886 | * which uses birecs. |
diff --git a/arch/ppc/platforms/mbx.h b/arch/ppc/platforms/mbx.h index fe81ca4ea0a2..1cf36fa3592d 100644 --- a/arch/ppc/platforms/mbx.h +++ b/arch/ppc/platforms/mbx.h | |||
@@ -37,7 +37,7 @@ typedef struct bd_info { | |||
37 | 37 | ||
38 | /* Memory map for the MBX as configured by EPPC-Bug. We could reprogram | 38 | /* Memory map for the MBX as configured by EPPC-Bug. We could reprogram |
39 | * The SIU and PCI bridge, and try to use larger MMU pages, but the | 39 | * The SIU and PCI bridge, and try to use larger MMU pages, but the |
40 | * performance gain is not measureable and it certainly complicates the | 40 | * performance gain is not measurable and it certainly complicates the |
41 | * generic MMU model. | 41 | * generic MMU model. |
42 | * | 42 | * |
43 | * In a effort to minimize memory usage for embedded applications, any | 43 | * In a effort to minimize memory usage for embedded applications, any |
diff --git a/arch/ppc/platforms/mvme5100.h b/arch/ppc/platforms/mvme5100.h index 9e2a09e636ae..fbb5495165c7 100644 --- a/arch/ppc/platforms/mvme5100.h +++ b/arch/ppc/platforms/mvme5100.h | |||
@@ -69,7 +69,7 @@ | |||
69 | 69 | ||
70 | #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF | 70 | #define STD_COM_FLAGS ASYNC_BOOT_AUTOCONF |
71 | 71 | ||
72 | /* All UART IRQ's are wire-OR'd to one MPIC IRQ */ | 72 | /* All UART IRQs are wire-OR'd to one MPIC IRQ */ |
73 | #define STD_SERIAL_PORT_DFNS \ | 73 | #define STD_SERIAL_PORT_DFNS \ |
74 | { 0, BASE_BAUD, MVME5100_SERIAL_1, \ | 74 | { 0, BASE_BAUD, MVME5100_SERIAL_1, \ |
75 | MVME5100_SERIAL_IRQ, \ | 75 | MVME5100_SERIAL_IRQ, \ |
diff --git a/arch/ppc/platforms/pplus.h b/arch/ppc/platforms/pplus.h index a07cbbdd72c6..a4bbaa8d858f 100644 --- a/arch/ppc/platforms/pplus.h +++ b/arch/ppc/platforms/pplus.h | |||
@@ -18,7 +18,7 @@ | |||
18 | #include <asm/io.h> | 18 | #include <asm/io.h> |
19 | 19 | ||
20 | /* | 20 | /* |
21 | * Due to limiations imposed by legacy hardware (primaryily IDE controllers), | 21 | * Due to limitations imposed by legacy hardware (primarily IDE controllers), |
22 | * the PPLUS boards operate using a PReP address map. | 22 | * the PPLUS boards operate using a PReP address map. |
23 | * | 23 | * |
24 | * From Processor (physical) -> PCI: | 24 | * From Processor (physical) -> PCI: |
diff --git a/arch/ppc/platforms/prep_pci.c b/arch/ppc/platforms/prep_pci.c index c627ba41335f..1df3150f016e 100644 --- a/arch/ppc/platforms/prep_pci.c +++ b/arch/ppc/platforms/prep_pci.c | |||
@@ -589,9 +589,9 @@ static unsigned char prep_pci_intpins[4][4] = | |||
589 | { 4, 1, 2, 3}, /* Buses 3, 7, 11 ... */ | 589 | { 4, 1, 2, 3}, /* Buses 3, 7, 11 ... */ |
590 | }; | 590 | }; |
591 | 591 | ||
592 | /* We have to turn on LEVEL mode for changed IRQ's */ | 592 | /* We have to turn on LEVEL mode for changed IRQs */ |
593 | /* All PCI IRQ's need to be level mode, so this should be something | 593 | /* All PCI IRQs need to be level mode, so this should be something |
594 | * other than hard-coded as well... IRQ's are individually mappable | 594 | * other than hard-coded as well... IRQs are individually mappable |
595 | * to either edge or level. | 595 | * to either edge or level. |
596 | */ | 596 | */ |
597 | 597 | ||
@@ -923,8 +923,8 @@ prep_sandalfoot_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi) | |||
923 | Motherboard_map_name = "IBM 6015/7020 (Sandalfoot/Sandalbow)"; | 923 | Motherboard_map_name = "IBM 6015/7020 (Sandalfoot/Sandalbow)"; |
924 | Motherboard_map = ibm6015_pci_IRQ_map; | 924 | Motherboard_map = ibm6015_pci_IRQ_map; |
925 | Motherboard_routes = ibm6015_pci_IRQ_routes; | 925 | Motherboard_routes = ibm6015_pci_IRQ_routes; |
926 | *irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */ | 926 | *irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */ |
927 | *irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */ | 927 | *irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */ |
928 | } | 928 | } |
929 | 929 | ||
930 | void __init | 930 | void __init |
@@ -933,8 +933,8 @@ prep_thinkpad_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi) | |||
933 | Motherboard_map_name = "IBM Thinkpad 850/860"; | 933 | Motherboard_map_name = "IBM Thinkpad 850/860"; |
934 | Motherboard_map = Nobis_pci_IRQ_map; | 934 | Motherboard_map = Nobis_pci_IRQ_map; |
935 | Motherboard_routes = Nobis_pci_IRQ_routes; | 935 | Motherboard_routes = Nobis_pci_IRQ_routes; |
936 | *irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */ | 936 | *irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */ |
937 | *irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */ | 937 | *irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */ |
938 | } | 938 | } |
939 | 939 | ||
940 | void __init | 940 | void __init |
@@ -943,8 +943,8 @@ prep_carolina_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi) | |||
943 | Motherboard_map_name = "IBM 7248, PowerSeries 830/850 (Carolina)"; | 943 | Motherboard_map_name = "IBM 7248, PowerSeries 830/850 (Carolina)"; |
944 | Motherboard_map = ibm8xx_pci_IRQ_map; | 944 | Motherboard_map = ibm8xx_pci_IRQ_map; |
945 | Motherboard_routes = ibm8xx_pci_IRQ_routes; | 945 | Motherboard_routes = ibm8xx_pci_IRQ_routes; |
946 | *irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */ | 946 | *irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */ |
947 | *irq_edge_mask_hi = 0xA4; /* irq's 10, 13, 15 level-triggered */ | 947 | *irq_edge_mask_hi = 0xA4; /* IRQs 10, 13, 15 level-triggered */ |
948 | } | 948 | } |
949 | 949 | ||
950 | void __init | 950 | void __init |
@@ -954,8 +954,8 @@ prep_tiger1_setup_pci(char *irq_edge_mask_lo, char *irq_edge_mask_hi) | |||
954 | Motherboard_map = ibm43p_pci_IRQ_map; | 954 | Motherboard_map = ibm43p_pci_IRQ_map; |
955 | Motherboard_routes = ibm43p_pci_IRQ_routes; | 955 | Motherboard_routes = ibm43p_pci_IRQ_routes; |
956 | Motherboard_non0 = ibm43p_pci_map_non0; | 956 | Motherboard_non0 = ibm43p_pci_map_non0; |
957 | *irq_edge_mask_lo = 0x00; /* irq's 0-7 all edge-triggered */ | 957 | *irq_edge_mask_lo = 0x00; /* IRQs 0-7 all edge-triggered */ |
958 | *irq_edge_mask_hi = 0xA0; /* irq's 13, 15 level-triggered */ | 958 | *irq_edge_mask_hi = 0xA0; /* IRQs 13, 15 level-triggered */ |
959 | } | 959 | } |
960 | 960 | ||
961 | void __init | 961 | void __init |
diff --git a/arch/ppc/platforms/prep_setup.c b/arch/ppc/platforms/prep_setup.c index f166299571d6..6f21110a9747 100644 --- a/arch/ppc/platforms/prep_setup.c +++ b/arch/ppc/platforms/prep_setup.c | |||
@@ -593,7 +593,7 @@ static void __init prep_init_sound(void) | |||
593 | PPC_DEVICE *audiodevice = NULL; | 593 | PPC_DEVICE *audiodevice = NULL; |
594 | 594 | ||
595 | /* | 595 | /* |
596 | * Get the needed resource informations from residual data. | 596 | * Get the needed resource information from residual data. |
597 | * | 597 | * |
598 | */ | 598 | */ |
599 | if (have_residual_data) | 599 | if (have_residual_data) |
@@ -632,9 +632,9 @@ static void __init prep_init_sound(void) | |||
632 | } | 632 | } |
633 | 633 | ||
634 | /* | 634 | /* |
635 | * Find a way to push these informations to the cs4232 driver | 635 | * Find a way to push this information to the cs4232 driver |
636 | * Give it out with printk, when not in cmd_line? | 636 | * Give it out with printk, when not in cmd_line? |
637 | * Append it to cmd_line and boot_command_line? | 637 | * Append it to cmd_line and boot_command_line? |
638 | * Format is cs4232=io,irq,dma,dma2 | 638 | * Format is cs4232=io,irq,dma,dma2 |
639 | */ | 639 | */ |
640 | } | 640 | } |
diff --git a/arch/ppc/platforms/prpmc750.h b/arch/ppc/platforms/prpmc750.h index 4c7adcc9ae33..c4dcff09d7ca 100644 --- a/arch/ppc/platforms/prpmc750.h +++ b/arch/ppc/platforms/prpmc750.h | |||
@@ -16,7 +16,7 @@ | |||
16 | #define __ASM_PRPMC750_H__ | 16 | #define __ASM_PRPMC750_H__ |
17 | 17 | ||
18 | /* | 18 | /* |
19 | * Due to limiations imposed by legacy hardware (primaryily IDE controllers), | 19 | * Due to limitations imposed by legacy hardware (primarily IDE controllers), |
20 | * the PrPMC750 carrier board operates using a PReP address map. | 20 | * the PrPMC750 carrier board operates using a PReP address map. |
21 | * | 21 | * |
22 | * From Processor (physical) -> PCI: | 22 | * From Processor (physical) -> PCI: |
diff --git a/arch/ppc/platforms/radstone_ppc7d.c b/arch/ppc/platforms/radstone_ppc7d.c index 13d70ab50bf1..b55860734a72 100644 --- a/arch/ppc/platforms/radstone_ppc7d.c +++ b/arch/ppc/platforms/radstone_ppc7d.c | |||
@@ -1371,7 +1371,7 @@ void __init platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
1371 | * are non-zero, then we should use the board info from the bd_t | 1371 | * are non-zero, then we should use the board info from the bd_t |
1372 | * structure and the cmdline pointed to by r6 instead of the | 1372 | * structure and the cmdline pointed to by r6 instead of the |
1373 | * information from birecs, if any. Otherwise, use the information | 1373 | * information from birecs, if any. Otherwise, use the information |
1374 | * from birecs as discovered by the preceeding call to | 1374 | * from birecs as discovered by the preceding call to |
1375 | * parse_bootinfo(). This rule should work with both PPCBoot, which | 1375 | * parse_bootinfo(). This rule should work with both PPCBoot, which |
1376 | * uses a bd_t board info structure, and the kernel boot wrapper, | 1376 | * uses a bd_t board info structure, and the kernel boot wrapper, |
1377 | * which uses birecs. | 1377 | * which uses birecs. |
diff --git a/arch/ppc/platforms/sandpoint.c b/arch/ppc/platforms/sandpoint.c index a76002af686f..3352fae1c722 100644 --- a/arch/ppc/platforms/sandpoint.c +++ b/arch/ppc/platforms/sandpoint.c | |||
@@ -54,7 +54,7 @@ | |||
54 | * | 54 | * |
55 | * | 55 | * |
56 | * Motorola has finally released a version of DINK32 that correctly | 56 | * Motorola has finally released a version of DINK32 that correctly |
57 | * (seemingly) initalizes the memory controller correctly, regardless | 57 | * (seemingly) initializes the memory controller correctly, regardless |
58 | * of the amount of memory in the system. Once a method of determining | 58 | * of the amount of memory in the system. Once a method of determining |
59 | * what version of DINK initializes the system for us, if applicable, is | 59 | * what version of DINK initializes the system for us, if applicable, is |
60 | * found, we can hopefully stop hardcoding 32MB of RAM. | 60 | * found, we can hopefully stop hardcoding 32MB of RAM. |
@@ -473,7 +473,7 @@ sandpoint_request_io(void) | |||
473 | arch_initcall(sandpoint_request_io); | 473 | arch_initcall(sandpoint_request_io); |
474 | 474 | ||
475 | /* | 475 | /* |
476 | * Interrupt setup and service. Interrrupts on the Sandpoint come | 476 | * Interrupt setup and service. Interrupts on the Sandpoint come |
477 | * from the four PCI slots plus the 8259 in the Winbond Super I/O (SIO). | 477 | * from the four PCI slots plus the 8259 in the Winbond Super I/O (SIO). |
478 | * The 8259 is cascaded from EPIC IRQ0, IRQ1-4 map to PCI slots 1-4, | 478 | * The 8259 is cascaded from EPIC IRQ0, IRQ1-4 map to PCI slots 1-4, |
479 | * IDE is on EPIC 7 and 8. | 479 | * IDE is on EPIC 7 and 8. |
@@ -505,7 +505,7 @@ sandpoint_find_end_of_memory(void) | |||
505 | if (bp->bi_memsize) | 505 | if (bp->bi_memsize) |
506 | return bp->bi_memsize; | 506 | return bp->bi_memsize; |
507 | 507 | ||
508 | /* DINK32 13.0 correctly initalizes things, so iff you use | 508 | /* DINK32 13.0 correctly initializes things, so iff you use |
509 | * this you _should_ be able to change this instead of a | 509 | * this you _should_ be able to change this instead of a |
510 | * hardcoded value. */ | 510 | * hardcoded value. */ |
511 | #if 0 | 511 | #if 0 |
@@ -677,7 +677,7 @@ platform_init(unsigned long r3, unsigned long r4, unsigned long r5, | |||
677 | * are non-zero, then we should use the board info from the bd_t | 677 | * are non-zero, then we should use the board info from the bd_t |
678 | * structure and the cmdline pointed to by r6 instead of the | 678 | * structure and the cmdline pointed to by r6 instead of the |
679 | * information from birecs, if any. Otherwise, use the information | 679 | * information from birecs, if any. Otherwise, use the information |
680 | * from birecs as discovered by the preceeding call to | 680 | * from birecs as discovered by the preceding call to |
681 | * parse_bootinfo(). This rule should work with both PPCBoot, which | 681 | * parse_bootinfo(). This rule should work with both PPCBoot, which |
682 | * uses a bd_t board info structure, and the kernel boot wrapper, | 682 | * uses a bd_t board info structure, and the kernel boot wrapper, |
683 | * which uses birecs. | 683 | * which uses birecs. |
diff --git a/arch/ppc/syslib/harrier.c b/arch/ppc/syslib/harrier.c index c1583f488325..45b797b3a336 100644 --- a/arch/ppc/syslib/harrier.c +++ b/arch/ppc/syslib/harrier.c | |||
@@ -210,7 +210,7 @@ harrier_init(struct pci_controller *hose, | |||
210 | * This assumes that PPCBug has initialized the memory controller (SMC) | 210 | * This assumes that PPCBug has initialized the memory controller (SMC) |
211 | * on the Harrier correctly (i.e., it does no sanity checking). | 211 | * on the Harrier correctly (i.e., it does no sanity checking). |
212 | * It also assumes that the memory base registers are set to configure the | 212 | * It also assumes that the memory base registers are set to configure the |
213 | * memory as contigous starting with "RAM A BASE", "RAM B BASE", etc. | 213 | * memory as contiguous starting with "RAM A BASE", "RAM B BASE", etc. |
214 | * however, RAM base registers can be skipped (e.g. A, B, C are set, | 214 | * however, RAM base registers can be skipped (e.g. A, B, C are set, |
215 | * D is skipped but E is set is okay). | 215 | * D is skipped but E is set is okay). |
216 | */ | 216 | */ |
diff --git a/arch/ppc/syslib/hawk_common.c b/arch/ppc/syslib/hawk_common.c index c5bf16b0d6a1..86821d8753ed 100644 --- a/arch/ppc/syslib/hawk_common.c +++ b/arch/ppc/syslib/hawk_common.c | |||
@@ -165,7 +165,7 @@ hawk_init(struct pci_controller *hose, | |||
165 | processor_pci_mem_start + | 165 | processor_pci_mem_start + |
166 | hose->mem_space.start) | 0x0); | 166 | hose->mem_space.start) | 0x0); |
167 | 167 | ||
168 | /* Map MPIC into vitual memory */ | 168 | /* Map MPIC into virtual memory */ |
169 | OpenPIC_Addr = ioremap(processor_mpic_base, HAWK_MPIC_SIZE); | 169 | OpenPIC_Addr = ioremap(processor_mpic_base, HAWK_MPIC_SIZE); |
170 | 170 | ||
171 | return 0; | 171 | return 0; |
@@ -176,7 +176,7 @@ hawk_init(struct pci_controller *hose, | |||
176 | * This assumes that PPCBug has initialized the memory controller (SMC) | 176 | * This assumes that PPCBug has initialized the memory controller (SMC) |
177 | * on the Falcon/HAWK correctly (i.e., it does no sanity checking). | 177 | * on the Falcon/HAWK correctly (i.e., it does no sanity checking). |
178 | * It also assumes that the memory base registers are set to configure the | 178 | * It also assumes that the memory base registers are set to configure the |
179 | * memory as contigous starting with "RAM A BASE", "RAM B BASE", etc. | 179 | * memory as contiguous starting with "RAM A BASE", "RAM B BASE", etc. |
180 | * however, RAM base registers can be skipped (e.g. A, B, C are set, | 180 | * however, RAM base registers can be skipped (e.g. A, B, C are set, |
181 | * D is skipped but E is set is okay). | 181 | * D is skipped but E is set is okay). |
182 | */ | 182 | */ |
diff --git a/arch/ppc/syslib/m82xx_pci.c b/arch/ppc/syslib/m82xx_pci.c index e3b586b1ede9..fe860d52e2e4 100644 --- a/arch/ppc/syslib/m82xx_pci.c +++ b/arch/ppc/syslib/m82xx_pci.c | |||
@@ -197,7 +197,7 @@ pq2ads_setup_pci(struct pci_controller *hose) | |||
197 | CPM high 0b0000 | 197 | CPM high 0b0000 |
198 | CPM middle 0b0001 | 198 | CPM middle 0b0001 |
199 | CPM low 0b0010 | 199 | CPM low 0b0010 |
200 | PCI reguest 0b0011 | 200 | PCI request 0b0011 |
201 | Reserved 0b0100 | 201 | Reserved 0b0100 |
202 | Reserved 0b0101 | 202 | Reserved 0b0101 |
203 | Internal Core 0b0110 | 203 | Internal Core 0b0110 |
diff --git a/arch/ppc/syslib/mpc10x_common.c b/arch/ppc/syslib/mpc10x_common.c index 2fc7c4150a18..437a294527a9 100644 --- a/arch/ppc/syslib/mpc10x_common.c +++ b/arch/ppc/syslib/mpc10x_common.c | |||
@@ -432,7 +432,7 @@ mpc10x_bridge_init(struct pci_controller *hose, | |||
432 | phys_eumb_base); | 432 | phys_eumb_base); |
433 | } | 433 | } |
434 | 434 | ||
435 | /* IRQ's are determined at runtime */ | 435 | /* IRQs are determined at runtime */ |
436 | ppc_sys_platform_devices[MPC10X_IIC1].resource[1].start = MPC10X_I2C_IRQ; | 436 | ppc_sys_platform_devices[MPC10X_IIC1].resource[1].start = MPC10X_I2C_IRQ; |
437 | ppc_sys_platform_devices[MPC10X_IIC1].resource[1].end = MPC10X_I2C_IRQ; | 437 | ppc_sys_platform_devices[MPC10X_IIC1].resource[1].end = MPC10X_I2C_IRQ; |
438 | ppc_sys_platform_devices[MPC10X_DMA0].resource[1].start = MPC10X_DMA0_IRQ; | 438 | ppc_sys_platform_devices[MPC10X_DMA0].resource[1].start = MPC10X_DMA0_IRQ; |
@@ -646,7 +646,7 @@ void __init mpc10x_set_openpic(void) | |||
646 | openpic_set_sources(EPIC_IRQ_BASE, 3, OpenPIC_Addr + 0x11020); | 646 | openpic_set_sources(EPIC_IRQ_BASE, 3, OpenPIC_Addr + 0x11020); |
647 | /* Skip reserved space and map Message Unit Interrupt (I2O) */ | 647 | /* Skip reserved space and map Message Unit Interrupt (I2O) */ |
648 | openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x110C0); | 648 | openpic_set_sources(EPIC_IRQ_BASE + 3, 1, OpenPIC_Addr + 0x110C0); |
649 | /* Skip reserved space and map Serial Interupts */ | 649 | /* Skip reserved space and map Serial Interrupts */ |
650 | openpic_set_sources(EPIC_IRQ_BASE + 4, 2, OpenPIC_Addr + 0x11120); | 650 | openpic_set_sources(EPIC_IRQ_BASE + 4, 2, OpenPIC_Addr + 0x11120); |
651 | 651 | ||
652 | openpic_init(NUM_8259_INTERRUPTS); | 652 | openpic_init(NUM_8259_INTERRUPTS); |
diff --git a/arch/ppc/syslib/mpc52xx_setup.c b/arch/ppc/syslib/mpc52xx_setup.c index 80c609019bda..ecfa2c0f8ba3 100644 --- a/arch/ppc/syslib/mpc52xx_setup.c +++ b/arch/ppc/syslib/mpc52xx_setup.c | |||
@@ -252,7 +252,7 @@ mpc52xx_setup_cpu(void) | |||
252 | out_be32(&xlb->snoop_window, MPC52xx_PCI_TARGET_MEM | 0x1d); | 252 | out_be32(&xlb->snoop_window, MPC52xx_PCI_TARGET_MEM | 0x1d); |
253 | 253 | ||
254 | /* Disable XLB pipelining */ | 254 | /* Disable XLB pipelining */ |
255 | /* (cfr errate 292. We could do this only just before ATA PIO | 255 | /* (cfr errata 292. We could do this only just before ATA PIO |
256 | transaction and re-enable it after ...) */ | 256 | transaction and re-enable it after ...) */ |
257 | out_be32(&xlb->config, in_be32(&xlb->config) | MPC52xx_XLB_CFG_PLDIS); | 257 | out_be32(&xlb->config, in_be32(&xlb->config) | MPC52xx_XLB_CFG_PLDIS); |
258 | 258 | ||
diff --git a/arch/ppc/syslib/mpc8xx_devices.c b/arch/ppc/syslib/mpc8xx_devices.c index 31fb56593d17..c05ac87ece4c 100644 --- a/arch/ppc/syslib/mpc8xx_devices.c +++ b/arch/ppc/syslib/mpc8xx_devices.c | |||
@@ -21,7 +21,7 @@ | |||
21 | #include <asm/irq.h> | 21 | #include <asm/irq.h> |
22 | #include <asm/ppc_sys.h> | 22 | #include <asm/ppc_sys.h> |
23 | 23 | ||
24 | /* We use offsets for IORESOURCE_MEM to do not set dependences at compile time. | 24 | /* We use offsets for IORESOURCE_MEM to do not set dependencies at compile time. |
25 | * They will get fixed up by mach_mpc8xx_fixup | 25 | * They will get fixed up by mach_mpc8xx_fixup |
26 | */ | 26 | */ |
27 | 27 | ||
diff --git a/arch/ppc/syslib/mv64x60.c b/arch/ppc/syslib/mv64x60.c index a6f8b686ea83..8485a68cd475 100644 --- a/arch/ppc/syslib/mv64x60.c +++ b/arch/ppc/syslib/mv64x60.c | |||
@@ -490,7 +490,7 @@ static struct platform_device *mv64x60_pd_devs[] __initdata = { | |||
490 | /* | 490 | /* |
491 | * mv64x60_init() | 491 | * mv64x60_init() |
492 | * | 492 | * |
493 | * Initialze the bridge based on setting passed in via 'si'. The bridge | 493 | * Initialize the bridge based on setting passed in via 'si'. The bridge |
494 | * handle, 'bh', will be set so that it can be used to make subsequent | 494 | * handle, 'bh', will be set so that it can be used to make subsequent |
495 | * calls to routines in this file. | 495 | * calls to routines in this file. |
496 | */ | 496 | */ |
@@ -1704,7 +1704,7 @@ gt64260_disable_all_windows(struct mv64x60_handle *bh, | |||
1704 | /* | 1704 | /* |
1705 | * gt64260a_chip_specific_init() | 1705 | * gt64260a_chip_specific_init() |
1706 | * | 1706 | * |
1707 | * Implement errata work arounds for the GT64260A. | 1707 | * Implement errata workarounds for the GT64260A. |
1708 | */ | 1708 | */ |
1709 | static void __init | 1709 | static void __init |
1710 | gt64260a_chip_specific_init(struct mv64x60_handle *bh, | 1710 | gt64260a_chip_specific_init(struct mv64x60_handle *bh, |
@@ -1776,7 +1776,7 @@ gt64260a_chip_specific_init(struct mv64x60_handle *bh, | |||
1776 | /* | 1776 | /* |
1777 | * gt64260b_chip_specific_init() | 1777 | * gt64260b_chip_specific_init() |
1778 | * | 1778 | * |
1779 | * Implement errata work arounds for the GT64260B. | 1779 | * Implement errata workarounds for the GT64260B. |
1780 | */ | 1780 | */ |
1781 | static void __init | 1781 | static void __init |
1782 | gt64260b_chip_specific_init(struct mv64x60_handle *bh, | 1782 | gt64260b_chip_specific_init(struct mv64x60_handle *bh, |
@@ -2316,7 +2316,7 @@ mv64360_set_mpsc2regs_window(struct mv64x60_handle *bh, u32 base) | |||
2316 | /* | 2316 | /* |
2317 | * mv64360_chip_specific_init() | 2317 | * mv64360_chip_specific_init() |
2318 | * | 2318 | * |
2319 | * Implement errata work arounds for the MV64360. | 2319 | * Implement errata workarounds for the MV64360. |
2320 | */ | 2320 | */ |
2321 | static void __init | 2321 | static void __init |
2322 | mv64360_chip_specific_init(struct mv64x60_handle *bh, | 2322 | mv64360_chip_specific_init(struct mv64x60_handle *bh, |
@@ -2336,7 +2336,7 @@ mv64360_chip_specific_init(struct mv64x60_handle *bh, | |||
2336 | /* | 2336 | /* |
2337 | * mv64460_chip_specific_init() | 2337 | * mv64460_chip_specific_init() |
2338 | * | 2338 | * |
2339 | * Implement errata work arounds for the MV64460. | 2339 | * Implement errata workarounds for the MV64460. |
2340 | */ | 2340 | */ |
2341 | static void __init | 2341 | static void __init |
2342 | mv64460_chip_specific_init(struct mv64x60_handle *bh, | 2342 | mv64460_chip_specific_init(struct mv64x60_handle *bh, |
diff --git a/arch/ppc/syslib/ocp.c b/arch/ppc/syslib/ocp.c index 50c55622ece9..491fe9a57229 100644 --- a/arch/ppc/syslib/ocp.c +++ b/arch/ppc/syslib/ocp.c | |||
@@ -27,7 +27,7 @@ | |||
27 | * device model. The devices on the OCP bus are seeded by an | 27 | * device model. The devices on the OCP bus are seeded by an |
28 | * an initial OCP device array created by the arch-specific | 28 | * an initial OCP device array created by the arch-specific |
29 | * Device entries can be added/removed/modified through OCP | 29 | * Device entries can be added/removed/modified through OCP |
30 | * helper functions to accomodate system and board-specific | 30 | * helper functions to accommodate system and board-specific |
31 | * parameters commonly found in embedded systems. OCP also | 31 | * parameters commonly found in embedded systems. OCP also |
32 | * provides a standard method for devices to describe extended | 32 | * provides a standard method for devices to describe extended |
33 | * attributes about themselves to the system. A standard access | 33 | * attributes about themselves to the system. A standard access |
diff --git a/arch/ppc/syslib/ppc403_pic.c b/arch/ppc/syslib/ppc403_pic.c index 607ebd111d44..c3b7b8bfbcfe 100644 --- a/arch/ppc/syslib/ppc403_pic.c +++ b/arch/ppc/syslib/ppc403_pic.c | |||
@@ -112,7 +112,7 @@ ppc4xx_pic_init(void) | |||
112 | 112 | ||
113 | /* | 113 | /* |
114 | * Disable all external interrupts until they are | 114 | * Disable all external interrupts until they are |
115 | * explicity requested. | 115 | * explicitly requested. |
116 | */ | 116 | */ |
117 | ppc_cached_irq_mask[0] = 0; | 117 | ppc_cached_irq_mask[0] = 0; |
118 | 118 | ||
diff --git a/arch/ppc/syslib/ppc405_pci.c b/arch/ppc/syslib/ppc405_pci.c index d6d838b16dac..9e9035693bfa 100644 --- a/arch/ppc/syslib/ppc405_pci.c +++ b/arch/ppc/syslib/ppc405_pci.c | |||
@@ -137,7 +137,7 @@ ppc4xx_find_bridges(void) | |||
137 | hose_a->pci_mem_offset = 0; | 137 | hose_a->pci_mem_offset = 0; |
138 | 138 | ||
139 | /* Setup bridge memory/IO ranges & resources | 139 | /* Setup bridge memory/IO ranges & resources |
140 | * TODO: Handle firmwares setting up a legacy ISA mem base | 140 | * TODO: Handle firmware setting up a legacy ISA mem base |
141 | */ | 141 | */ |
142 | hose_a->io_space.start = PPC405_PCI_LOWER_IO; | 142 | hose_a->io_space.start = PPC405_PCI_LOWER_IO; |
143 | hose_a->io_space.end = PPC405_PCI_UPPER_IO; | 143 | hose_a->io_space.end = PPC405_PCI_UPPER_IO; |
diff --git a/arch/ppc/syslib/ppc4xx_dma.c b/arch/ppc/syslib/ppc4xx_dma.c index 1eef4ffed4fb..bd301868996b 100644 --- a/arch/ppc/syslib/ppc4xx_dma.c +++ b/arch/ppc/syslib/ppc4xx_dma.c | |||
@@ -241,7 +241,7 @@ ppc4xx_set_dma_count(unsigned int dmanr, unsigned int count) | |||
241 | } | 241 | } |
242 | 242 | ||
243 | /* | 243 | /* |
244 | * Returns the number of bytes left to be transfered. | 244 | * Returns the number of bytes left to be transferred. |
245 | * After a DMA transfer, this should return zero. | 245 | * After a DMA transfer, this should return zero. |
246 | * Reading this while a DMA transfer is still in progress will return | 246 | * Reading this while a DMA transfer is still in progress will return |
247 | * unpredictable results. | 247 | * unpredictable results. |
diff --git a/arch/ppc/syslib/ppc85xx_rio.c b/arch/ppc/syslib/ppc85xx_rio.c index 2b097800cdd9..af2425e4655f 100644 --- a/arch/ppc/syslib/ppc85xx_rio.c +++ b/arch/ppc/syslib/ppc85xx_rio.c | |||
@@ -349,7 +349,7 @@ EXPORT_SYMBOL_GPL(rio_hw_add_outb_message); | |||
349 | * @dev_instance: Pointer to interrupt-specific data | 349 | * @dev_instance: Pointer to interrupt-specific data |
350 | * | 350 | * |
351 | * Handles outbound message interrupts. Executes a register outbound | 351 | * Handles outbound message interrupts. Executes a register outbound |
352 | * mailbox event handler and acks the interrupt occurence. | 352 | * mailbox event handler and acks the interrupt occurrence. |
353 | */ | 353 | */ |
354 | static irqreturn_t | 354 | static irqreturn_t |
355 | mpc85xx_rio_tx_handler(int irq, void *dev_instance) | 355 | mpc85xx_rio_tx_handler(int irq, void *dev_instance) |
@@ -516,7 +516,7 @@ void rio_close_outb_mbox(struct rio_mport *mport, int mbox) | |||
516 | * @dev_instance: Pointer to interrupt-specific data | 516 | * @dev_instance: Pointer to interrupt-specific data |
517 | * | 517 | * |
518 | * Handles inbound message interrupts. Executes a registered inbound | 518 | * Handles inbound message interrupts. Executes a registered inbound |
519 | * mailbox event handler and acks the interrupt occurence. | 519 | * mailbox event handler and acks the interrupt occurrence. |
520 | */ | 520 | */ |
521 | static irqreturn_t | 521 | static irqreturn_t |
522 | mpc85xx_rio_rx_handler(int irq, void *dev_instance) | 522 | mpc85xx_rio_rx_handler(int irq, void *dev_instance) |
diff --git a/arch/ppc/syslib/xilinx_pic.c b/arch/ppc/syslib/xilinx_pic.c index 6fd4cdbada72..3b82333e96d8 100644 --- a/arch/ppc/syslib/xilinx_pic.c +++ b/arch/ppc/syslib/xilinx_pic.c | |||
@@ -130,7 +130,7 @@ ppc4xx_pic_init(void) | |||
130 | 130 | ||
131 | /* | 131 | /* |
132 | * Disable all external interrupts until they are | 132 | * Disable all external interrupts until they are |
133 | * explicity requested. | 133 | * explicitly requested. |
134 | */ | 134 | */ |
135 | intc_out_be32(intc + IER, 0); | 135 | intc_out_be32(intc + IER, 0); |
136 | 136 | ||