From b2ad716b395b9116139de6b0b5aba7aa0ff4b509 Mon Sep 17 00:00:00 2001 From: Eli Carter Date: Mon, 21 Apr 2003 19:31:47 +0100 Subject: [ARM PATCH] 1511/1: iop321 #define cleanup Patch from Eli Carter # Mon Apr 21 11:20:06 CDT 2003 ejc@rnd-linux-c84 # pci-io-mem-size-defines # # Rename the IOP321_PCI_WINDOW_SIZE #defines to use # IOP321_PCI_{IO,MEM}_{BASE,SIZE} instead. This makes the #defines a bit more # consistent. No functional change, though it does bring up the question of # whether res[].end should be BASE+SIZE-1 or BASE+SIZE. # # Diffed against linux-2.5.67-rmk1+1501-3+1506+1508-10 # # arch/arm/mach-iop3xx/iop321-pci.c | 8 ++++---- # include/asm-arm/arch-iop3xx/iop321.h | 10 ++++------ # 2 files changed, 8 insertions(+), 10 deletions(-) # --- include/asm-arm/arch-iop3xx/iop321.h | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to 'include') diff --git a/include/asm-arm/arch-iop3xx/iop321.h b/include/asm-arm/arch-iop3xx/iop321.h index 34bb2da3c586..b0c704bd96fd 100644 --- a/include/asm-arm/arch-iop3xx/iop321.h +++ b/include/asm-arm/arch-iop3xx/iop321.h @@ -17,12 +17,10 @@ /* * IOP321 I/O and Mem space regions for PCI autoconfiguration */ -#define IOP321_PCI_LOWER_IO 0x90000000 -#define IOP321_PCI_UPPER_IO 0x9000ffff -#define IOP321_PCI_LOWER_MEM 0x80000000 -#define IOP321_PCI_UPPER_MEM 0x83ffffff - -#define IOP321_PCI_WINDOW_SIZE 64 * 0x100000 +#define IOP321_PCI_IO_BASE 0x90000000 +#define IOP321_PCI_IO_SIZE 0x00010000 +#define IOP321_PCI_MEM_BASE 0x40000000 +#define IOP321_PCI_MEM_SIZE 0x40000000 /* * IOP321 chipset registers -- cgit v1.2.3 From 1f9e6cb8ddd194ee1c6763f4fc0e1a5881bf46ca Mon Sep 17 00:00:00 2001 From: Steven Cole Date: Tue, 22 Apr 2003 01:45:12 +0100 Subject: [ARM] spelling fixes for arm Patch from Steven Cole. Here are some spelling fixes for arm. This was diffed against the current 2.5 tree. --- arch/arm/kernel/process.c | 2 +- arch/arm/mach-iop3xx/iq80310-time.c | 2 +- arch/arm/mach-iop3xx/mm-321.c | 2 +- arch/arm/mach-pxa/generic.c | 2 +- arch/arm/mach-pxa/sleep.S | 2 +- arch/arm/mach-sa1100/sleep.S | 2 +- arch/arm/mm/discontig.c | 2 +- include/asm-arm/arch-adifcc/time.h | 2 +- include/asm-arm/arch-clps711x/memory.h | 2 +- include/asm-arm/arch-epxa10db/ether00.h | 2 +- include/asm-arm/arch-epxa10db/pld_conf00.h | 2 +- include/asm-arm/arch-integrator/bits.h | 2 +- include/asm-arm/arch-iop3xx/iop310.h | 2 +- include/asm-arm/arch-pxa/pxa-regs.h | 4 ++-- include/asm-arm/arch-sa1100/graphicsclient.h | 4 ++-- include/asm-arm/arch-sa1100/h3600_gpio.h | 2 +- include/asm-arm/arch-sa1100/memory.h | 2 +- include/asm-arm/arch-sa1100/uncompress.h | 2 +- include/asm-arm/dma-mapping.h | 2 +- include/asm-arm/proc-armo/pgalloc.h | 2 +- include/asm-arm/sizes.h | 2 +- 21 files changed, 23 insertions(+), 23 deletions(-) (limited to 'include') diff --git a/arch/arm/kernel/process.c b/arch/arm/kernel/process.c index 1db43d3c20eb..e7bcb5d14214 100644 --- a/arch/arm/kernel/process.c +++ b/arch/arm/kernel/process.c @@ -2,7 +2,7 @@ * linux/arch/arm/kernel/process.c * * Copyright (C) 1996-2000 Russell King - Converted to ARM. - * Origional Copyright (C) 1995 Linus Torvalds + * Original Copyright (C) 1995 Linus Torvalds * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/arch/arm/mach-iop3xx/iq80310-time.c b/arch/arm/mach-iop3xx/iq80310-time.c index c4ad0e4f6ea9..aff7537f482e 100644 --- a/arch/arm/mach-iop3xx/iq80310-time.c +++ b/arch/arm/mach-iop3xx/iq80310-time.c @@ -101,7 +101,7 @@ static void iq80310_timer_interrupt(int irq, void *dev_id, struct pt_regs *regs) * * Since the timer interrupt is cascaded through the CPLD and * the 80312 and the demux code calls do_IRQ, the irq count is - * going to be atleast 2 when we get here and this will cause the + * going to be at least 2 when we get here and this will cause the * kernel to increment the system tick counter even if we're * idle. This causes it to look like there's always 100% system * time, which is not the case. To get around it, we just decrement diff --git a/arch/arm/mach-iop3xx/mm-321.c b/arch/arm/mach-iop3xx/mm-321.c index f0cbaa0f44ba..334811f12358 100644 --- a/arch/arm/mach-iop3xx/mm-321.c +++ b/arch/arm/mach-iop3xx/mm-321.c @@ -1,7 +1,7 @@ /* * linux/arch/arm/mach-iop3xx/mm.c * - * Low level memory intialization for IOP321 based systems + * Low level memory initialization for IOP321 based systems * * Author: Rory Bolt * Copyright (C) 2002 Rory Bolt diff --git a/arch/arm/mach-pxa/generic.c b/arch/arm/mach-pxa/generic.c index cd0bd180f554..74919371fff9 100644 --- a/arch/arm/mach-pxa/generic.c +++ b/arch/arm/mach-pxa/generic.c @@ -13,7 +13,7 @@ * * Since this file should be linked before any other machine specific file, * the __initcall() here will be executed first. This serves as default - * initialization stuff for PXA machines which can be overriden later if + * initialization stuff for PXA machines which can be overridden later if * need be. */ #include diff --git a/arch/arm/mach-pxa/sleep.S b/arch/arm/mach-pxa/sleep.S index f23d8089a22d..402b2cd1113f 100644 --- a/arch/arm/mach-pxa/sleep.S +++ b/arch/arm/mach-pxa/sleep.S @@ -95,7 +95,7 @@ ENTRY(pxa_cpu_suspend) * This is to allow sleep_save_sp to be accessed with a relative load * while we can't rely on any MMU translation. We could have put * sleep_save_sp in the .text section as well, but some setups might - * insist on it to be truely read-only. + * insist on it to be truly read-only. */ .data diff --git a/arch/arm/mach-sa1100/sleep.S b/arch/arm/mach-sa1100/sleep.S index d2235f1e1d8e..12088f924652 100644 --- a/arch/arm/mach-sa1100/sleep.S +++ b/arch/arm/mach-sa1100/sleep.S @@ -171,7 +171,7 @@ sa1110_sdram_controller_fix: * This is to allow sleep_save_sp to be accessed with a relative load * while we can't rely on any MMU translation. We could have put * sleep_save_sp in the .text section as well, but some setups might - * insist on it to be truely read-only. + * insist on it to be truly read-only. */ .data diff --git a/arch/arm/mm/discontig.c b/arch/arm/mm/discontig.c index 338ddf7f762a..82f972f07911 100644 --- a/arch/arm/mm/discontig.c +++ b/arch/arm/mm/discontig.c @@ -20,7 +20,7 @@ #endif /* - * Our node_data structure for discontigous memory. + * Our node_data structure for discontiguous memory. */ static bootmem_data_t node_bootmem_data[NR_NODES]; diff --git a/include/asm-arm/arch-adifcc/time.h b/include/asm-arm/arch-adifcc/time.h index 75e1c7eb77bc..2237ef006e71 100644 --- a/include/asm-arm/arch-adifcc/time.h +++ b/include/asm-arm/arch-adifcc/time.h @@ -4,6 +4,6 @@ */ /* - * No on board timer, implemenation @ arch/arm/kernel/xscale-time.c + * No on board timer, implementation @ arch/arm/kernel/xscale-time.c */ diff --git a/include/asm-arm/arch-clps711x/memory.h b/include/asm-arm/arch-clps711x/memory.h index 317fd2c22dd5..efa55531eae2 100644 --- a/include/asm-arm/arch-clps711x/memory.h +++ b/include/asm-arm/arch-clps711x/memory.h @@ -95,7 +95,7 @@ * Because of the wide memory address space between physical RAM banks on the * SA1100, it's much more convenient to use Linux's NUMA support to implement * our memory map representation. Assuming all memory nodes have equal access - * characteristics, we then have generic discontigous memory support. + * characteristics, we then have generic discontiguous memory support. * * Of course, all this isn't mandatory for SA1100 implementations with only * one used memory bank. For those, simply undefine CONFIG_DISCONTIGMEM. diff --git a/include/asm-arm/arch-epxa10db/ether00.h b/include/asm-arm/arch-epxa10db/ether00.h index 29a458320094..b737b8aabe2f 100644 --- a/include/asm-arm/arch-epxa10db/ether00.h +++ b/include/asm-arm/arch-epxa10db/ether00.h @@ -55,7 +55,7 @@ typedef struct buf_desc #define ETHER_ARC_SIZE (21) /* -* Regsiter definitions and masks +* Register definitions and masks */ #define ETHER_DMA_CTL(base) (ETHER00_TYPE (base + 0x100)) #define ETHER_DMA_CTL_DMBURST_OFST (2) diff --git a/include/asm-arm/arch-epxa10db/pld_conf00.h b/include/asm-arm/arch-epxa10db/pld_conf00.h index b7e8dbb33033..7af2c38dacc6 100644 --- a/include/asm-arm/arch-epxa10db/pld_conf00.h +++ b/include/asm-arm/arch-epxa10db/pld_conf00.h @@ -8,7 +8,7 @@ /* * * This file contains the register definitions for the Excalibur - * Interrupnt controller INT_CTRL00. + * Interrupt controller INT_CTRL00. * * Copyright (C) 2001 Altera Corporation * diff --git a/include/asm-arm/arch-integrator/bits.h b/include/asm-arm/arch-integrator/bits.h index b43a80e79490..09b024e0496a 100644 --- a/include/asm-arm/arch-integrator/bits.h +++ b/include/asm-arm/arch-integrator/bits.h @@ -16,7 +16,7 @@ /* DO NOT EDIT!! - this file automatically generated * from .s file by awk -f s2h.awk */ -/* Bit field defintions +/* Bit field definitions * Copyright (C) ARM Limited 1998. All rights reserved. */ diff --git a/include/asm-arm/arch-iop3xx/iop310.h b/include/asm-arm/arch-iop3xx/iop310.h index 09d30fcfa38a..01eaaca1e05d 100644 --- a/include/asm-arm/arch-iop3xx/iop310.h +++ b/include/asm-arm/arch-iop3xx/iop310.h @@ -1,7 +1,7 @@ /* * linux/include/asm/arch-iop3xx/iop310.h * - * Intel IOP310 Compainion Chip definitions + * Intel IOP310 Companion Chip definitions * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as diff --git a/include/asm-arm/arch-pxa/pxa-regs.h b/include/asm-arm/arch-pxa/pxa-regs.h index 1855237d54ee..50952e796c8a 100644 --- a/include/asm-arm/arch-pxa/pxa-regs.h +++ b/include/asm-arm/arch-pxa/pxa-regs.h @@ -690,9 +690,9 @@ typedef void (*ExcpHndlr) (void) ; #define ICSR0 __REG(0x40800014) /* ICP Status Register 0 */ #define ICSR1 __REG(0x40800018) /* ICP Status Register 1 */ -#define ICCR0_AME (1 << 7) /* Adress match enable */ +#define ICCR0_AME (1 << 7) /* Address match enable */ #define ICCR0_TIE (1 << 6) /* Transmit FIFO interrupt enable */ -#define ICCR0_RIE (1 << 5) /* Recieve FIFO interrupt enable */ +#define ICCR0_RIE (1 << 5) /* Receive FIFO interrupt enable */ #define ICCR0_RXE (1 << 4) /* Receive enable */ #define ICCR0_TXE (1 << 3) /* Transmit enable */ #define ICCR0_TUS (1 << 2) /* Transmit FIFO underrun select */ diff --git a/include/asm-arm/arch-sa1100/graphicsclient.h b/include/asm-arm/arch-sa1100/graphicsclient.h index 024e38709f1b..99766c333c5a 100644 --- a/include/asm-arm/arch-sa1100/graphicsclient.h +++ b/include/asm-arm/arch-sa1100/graphicsclient.h @@ -63,7 +63,7 @@ #define _ADS_UARTC 0x10140000 /* UART C */ #define _ADS_UARTD 0x10160000 /* UART D */ -/* UART controll lines GPIOs */ +/* UART control lines GPIOs */ #define GPIO_GC_UART0_RTS GPIO_GPIO15 #define GPIO_GC_UART1_RTS GPIO_GPIO17 #define GPIO_GC_UART2_RTS GPIO_GPIO19 @@ -71,7 +71,7 @@ #define GPIO_GC_UART1_CTS GPIO_GPIO16 #define GPIO_GC_UART2_CTS GPIO_GPIO17 -/* UART controll lines IRQs */ +/* UART control lines IRQs */ #define IRQ_GC_UART0_CTS IRQ_GPIO14 #define IRQ_GC_UART1_CTS IRQ_GPIO16 #define IRQ_GC_UART2_CTS IRQ_GPIO17 diff --git a/include/asm-arm/arch-sa1100/h3600_gpio.h b/include/asm-arm/arch-sa1100/h3600_gpio.h index 6b7e000a52f9..62b0b7879685 100644 --- a/include/asm-arm/arch-sa1100/h3600_gpio.h +++ b/include/asm-arm/arch-sa1100/h3600_gpio.h @@ -480,7 +480,7 @@ #define _H3800_ASIC1_GPIO_State 0x40 /* R See masks below (default 0) */ #define _H3800_ASIC1_GPIO_Reset 0x42 /* R/W See masks below (default 0x04) */ #define _H3800_ASIC1_GPIO_SleepMask 0x44 /* R/W 0:don't mask, 1:mask trigger in sleep mode */ -#define _H3800_ASIC1_GPIO_SleepDir 0x46 /* R/W direction 0:input, 1:ouput in sleep mode */ +#define _H3800_ASIC1_GPIO_SleepDir 0x46 /* R/W direction 0:input, 1:output in sleep mode */ #define _H3800_ASIC1_GPIO_SleepOut 0x48 /* R/W level 0:low, 1:high in sleep mode */ #define _H3800_ASIC1_GPIO_Status 0x4A /* R Pin status */ #define _H3800_ASIC1_GPIO_BattFaultDir 0x4C /* R/W direction 0:input, 1:output in batt_fault */ diff --git a/include/asm-arm/arch-sa1100/memory.h b/include/asm-arm/arch-sa1100/memory.h index 04df58feeabc..6303e6cce320 100644 --- a/include/asm-arm/arch-sa1100/memory.h +++ b/include/asm-arm/arch-sa1100/memory.h @@ -60,7 +60,7 @@ * Because of the wide memory address space between physical RAM banks on the * SA1100, it's much convenient to use Linux's NUMA support to implement our * memory map representation. Assuming all memory nodes have equal access - * characteristics, we then have generic discontigous memory support. + * characteristics, we then have generic discontiguous memory support. * * Of course, all this isn't mandatory for SA1100 implementations with only * one used memory bank. For those, simply undefine CONFIG_DISCONTIGMEM. diff --git a/include/asm-arm/arch-sa1100/uncompress.h b/include/asm-arm/arch-sa1100/uncompress.h index c505e14156b5..42d28b2b3edc 100644 --- a/include/asm-arm/arch-sa1100/uncompress.h +++ b/include/asm-arm/arch-sa1100/uncompress.h @@ -32,7 +32,7 @@ static void puts( const char *s ) } while (0); for (; *s; s++) { - /* wait for space in the UART's transmiter */ + /* wait for space in the UART's transmitter */ while (!(UART(UTSR1) & UTSR1_TNF)); /* send the character out. */ diff --git a/include/asm-arm/dma-mapping.h b/include/asm-arm/dma-mapping.h index 757155b13afc..542f5cff343b 100644 --- a/include/asm-arm/dma-mapping.h +++ b/include/asm-arm/dma-mapping.h @@ -182,7 +182,7 @@ dma_unmap_page(struct device *dev, dma_addr_t handle, size_t size, * @dir: DMA transfer direction * * Map a set of buffers described by scatterlist in streaming - * mode for DMA. This is the scather-gather version of the + * mode for DMA. This is the scatter-gather version of the * above pci_map_single interface. Here the scatter gather list * elements are each tagged with the appropriate dma address * and length. They are obtained via sg_dma_{address,length}(SG). diff --git a/include/asm-arm/proc-armo/pgalloc.h b/include/asm-arm/proc-armo/pgalloc.h index a24cc779294b..7b9bf375abc7 100644 --- a/include/asm-arm/proc-armo/pgalloc.h +++ b/include/asm-arm/proc-armo/pgalloc.h @@ -37,7 +37,7 @@ pmd_populate_kernel(struct mm_struct *mm, pmd_t *pmdp, pte_t *ptep) /* * We use the old 2.5.5-rmk1 hack for this. - * This is not truely correct, but should be functional. + * This is not truly correct, but should be functional. */ #define pte_alloc_one(mm,addr) ((struct page *)pte_alloc_one_kernel(mm,addr)) #define pte_free(pte) pte_free_kernel((pte_t *)pte) diff --git a/include/asm-arm/sizes.h b/include/asm-arm/sizes.h index f8d92ca12040..7f50ae0edf1b 100644 --- a/include/asm-arm/sizes.h +++ b/include/asm-arm/sizes.h @@ -16,7 +16,7 @@ /* DO NOT EDIT!! - this file automatically generated * from .s file by awk -f s2h.awk */ -/* Size defintions +/* Size definitions * Copyright (C) ARM Limited 1998. All rights reserved. */ -- cgit v1.2.3