patch-2.4.10 linux/include/asm-alpha/core_wildfire.h
Next file: linux/include/asm-alpha/fcntl.h
Previous file: linux/include/asm-alpha/core_tsunami.h
Back to the patch index
Back to the overall index
- Lines: 30
- Date:
Thu Sep 13 15:21:32 2001
- Orig file:
v2.4.9/linux/include/asm-alpha/core_wildfire.h
- Orig date:
Mon Jun 19 17:59:33 2000
diff -u --recursive --new-file v2.4.9/linux/include/asm-alpha/core_wildfire.h linux/include/asm-alpha/core_wildfire.h
@@ -326,11 +326,18 @@
* Memory functions. all accesses are done through linear space.
*/
-__EXTERN_INLINE unsigned long wildfire_ioremap(unsigned long addr)
+__EXTERN_INLINE unsigned long wildfire_ioremap(unsigned long addr,
+ unsigned long size
+ __attribute__((unused)))
{
return addr + WILDFIRE_MEM_BIAS;
}
+__EXTERN_INLINE void wildfire_iounmap(unsigned long addr)
+{
+ return;
+}
+
__EXTERN_INLINE int wildfire_is_ioaddr(unsigned long addr)
{
return addr >= WILDFIRE_BASE;
@@ -397,7 +404,8 @@
#define __writew(x,a) wildfire_writew((x),(unsigned long)(a))
#define __writel(x,a) wildfire_writel((x),(unsigned long)(a))
#define __writeq(x,a) wildfire_writeq((x),(unsigned long)(a))
-#define __ioremap(a) wildfire_ioremap((unsigned long)(a))
+#define __ioremap(a,s) wildfire_ioremap((unsigned long)(a),(s))
+#define __iounmap(a) wildfire_iounmap((unsigned long)(a))
#define __is_ioaddr(a) wildfire_is_ioaddr((unsigned long)(a))
#define inb(p) __inb(p)
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)