aboutsummaryrefslogtreecommitdiffstats
path: root/include/asm-mips/mach-au1x00
diff options
context:
space:
mode:
authorRalf Baechle <ralf@linux-mips.org>2006-11-07 04:58:30 -0500
committerRalf Baechle <ralf@linux-mips.org>2007-02-06 11:53:20 -0500
commit786d7cdd06581773ee7913560838d6f4487d2d9f (patch)
tree857c09e60aa00c001ffacc9a7149d99dba050915 /include/asm-mips/mach-au1x00
parente0daad449c5195fa4552c60392eeee4e5c58d31c (diff)
[MIPS] Alchemy: Fix bunch of warnings
CC arch/mips/au1000/common/pci.o arch/mips/au1000/common/pci.c:42: warning: large integer implicitly truncated to unsigned type arch/mips/au1000/common/pci.c:43: warning: large integer implicitly truncated to unsigned type arch/mips/au1000/common/pci.c:49: warning: large integer implicitly truncated to unsigned type arch/mips/au1000/common/pci.c:50: warning: large integer implicitly truncated to unsigned type arch/mips/au1000/common/pci.c: In function ‘au1x_pci_setup’: arch/mips/au1000/common/pci.c:82: warning: ISO C90 forbids mixed declarations and code Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Diffstat (limited to 'include/asm-mips/mach-au1x00')
-rw-r--r--include/asm-mips/mach-au1x00/au1000.h13
1 files changed, 7 insertions, 6 deletions
diff --git a/include/asm-mips/mach-au1x00/au1000.h b/include/asm-mips/mach-au1x00/au1000.h
index 582acd8adb81..43beeaa77b10 100644
--- a/include/asm-mips/mach-au1x00/au1000.h
+++ b/include/asm-mips/mach-au1x00/au1000.h
@@ -39,6 +39,7 @@
39#ifndef _LANGUAGE_ASSEMBLY 39#ifndef _LANGUAGE_ASSEMBLY
40 40
41#include <linux/delay.h> 41#include <linux/delay.h>
42#include <linux/types.h>
42#include <asm/io.h> 43#include <asm/io.h>
43 44
44/* cpu pipeline flush */ 45/* cpu pipeline flush */
@@ -1664,12 +1665,12 @@ extern au1xxx_irq_map_t au1xxx_irq_map[];
1664 * addresses. For PCI IO, it's simpler because we get to do the ioremap 1665 * addresses. For PCI IO, it's simpler because we get to do the ioremap
1665 * ourselves and then adjust the device's resources. 1666 * ourselves and then adjust the device's resources.
1666 */ 1667 */
1667#define Au1500_EXT_CFG 0x600000000ULL 1668#define Au1500_EXT_CFG ((resource_size_t) 0x600000000ULL)
1668#define Au1500_EXT_CFG_TYPE1 0x680000000ULL 1669#define Au1500_EXT_CFG_TYPE1 ((resource_size_t) 0x680000000ULL)
1669#define Au1500_PCI_IO_START 0x500000000ULL 1670#define Au1500_PCI_IO_START ((resource_size_t) 0x500000000ULL)
1670#define Au1500_PCI_IO_END 0x5000FFFFFULL 1671#define Au1500_PCI_IO_END ((resource_size_t) 0x5000FFFFFULL)
1671#define Au1500_PCI_MEM_START 0x440000000ULL 1672#define Au1500_PCI_MEM_START ((resource_size_t) 0x440000000ULL)
1672#define Au1500_PCI_MEM_END 0x44FFFFFFFULL 1673#define Au1500_PCI_MEM_END ((resource_size_t) 0x44FFFFFFFULL)
1673 1674
1674#define PCI_IO_START (Au1500_PCI_IO_START + 0x1000) 1675#define PCI_IO_START (Au1500_PCI_IO_START + 0x1000)
1675#define PCI_IO_END (Au1500_PCI_IO_END) 1676#define PCI_IO_END (Au1500_PCI_IO_END)