patch-2.3.14 linux/include/asm-alpha/jensen.h

Next file: linux/include/asm-alpha/machvec.h
Previous file: linux/include/asm-alpha/io.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.13/linux/include/asm-alpha/jensen.h linux/include/asm-alpha/jensen.h
@@ -292,12 +292,14 @@
 	*(vuip) (addr + (4 << 7)) = b >> 32;
 }
 
-/* Find the DENSE memory area for a given bus address.
-   Whee, there is none.  */
+__EXTERN_INLINE unsigned long jensen_ioremap(unsigned long addr)
+{
+	return addr;
+}
 
-__EXTERN_INLINE unsigned long jensen_dense_mem(unsigned long addr)
+__EXTERN_INLINE int jensen_is_ioaddr(unsigned long addr)
 {
-	return 0;
+	return (long)addr >= 0;
 }
 
 #undef vuip
@@ -320,7 +322,8 @@
 #define __readq		jensen_readq
 #define __writel	jensen_writel
 #define __writeq	jensen_writeq
-#define dense_mem	jensen_dense_mem
+#define __ioremap	jensen_ioremap
+#define __is_ioaddr	jensen_is_ioaddr
 
 /*
  * The above have so much overhead that it probably doesn't make

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)