patch-2.1.101 linux/include/asm-arm/arch-nexuspci/hardware.h

Next file: linux/include/asm-arm/arch-nexuspci/io.h
Previous file: linux/include/asm-arm/arch-nexuspci/dma.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.1.100/linux/include/asm-arm/arch-nexuspci/hardware.h linux/include/asm-arm/arch-nexuspci/hardware.h
@@ -1,11 +1,19 @@
 /*
  * linux/include/asm-arm/arch-nexuspci/hardware.h
  *
- * Copyright (C) 1997 Philip Blundell
+ * Copyright (C) 1998 Philip Blundell
  *
  * This file contains the hardware definitions of the Nexus PCI card.
  */
 
+/*    Logical    Physical
+ * 0xfff00000	0x10000000	SCC2691 DUART
+ * 0xffe00000	0x20000000	INTCONT
+ * 0xffd00000	0x30000000	Status
+ * 0xffc00000	0x60000000	PLX registers
+ * 0xfe000000	0x70000000	PCI I/O
+ */
+ 
 #ifndef __ASM_ARCH_HARDWARE_H
 #define __ASM_ARCH_HARDWARE_H
 
@@ -13,29 +21,21 @@
  * What hardware must be present
  */
 
-#ifndef __ASSEMBLER__
+#define HAS_PCIO
+#define PCIO_BASE		0xfe000000
 
 /*
  * Mapping areas
  */
 #define IO_END			0xffffffff
-#define IO_BASE			0xd0000000
+#define IO_BASE			0xfe000000
 #define IO_SIZE			(IO_END - IO_BASE)
-#define IO_START		0xd0000000
 
 /*
  * RAM definitions
  */
 #define RAM_BASE		0x40000000
-#define MAPTOPHYS(a)		((unsigned long)(a) - PAGE_OFFSET + RAM_BASE)
 #define KERNTOPHYS(a)		((unsigned long)(&a))
-#define KERNEL_BASE		(0xc0008000)
 #define SAFE_ADDR		0x40000000
 
-#else
-
-#define IO_BASE			0
-
 #endif
-#endif
-

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen, slshen@lbl.gov