patch-2.4.7 linux/include/asm-arm/arch-integrator/io.h
Next file: linux/include/asm-arm/hardirq.h
Previous file: linux/include/asm-arm/arch-ebsa285/io.h
Back to the patch index
Back to the overall index
- Lines: 15
- Date:
Wed Jul 4 20:11:17 2001
- Orig file:
v2.4.6/linux/include/asm-arm/arch-integrator/io.h
- Orig date:
Fri Mar 2 18:38:39 2001
diff -u --recursive --new-file v2.4.6/linux/include/asm-arm/arch-integrator/io.h linux/include/asm-arm/arch-integrator/io.h
@@ -35,12 +35,11 @@
/*
* Validate the pci memory address for ioremap.
*/
-#define iomem_valid_addr(iomem,size) \
- ((iomem) > 0 && (iomem) + (size) <= 0x20000000)
+#define iomem_valid_addr(iomem,size) (1)
/*
* Convert PCI memory space to a CPU physical address
*/
-#define iomem_to_phys(iomem) ((iomem) + PHYS_PCI_MEM_BASE)
+#define iomem_to_phys(iomem) (iomem)
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)