patch-2.4.14 linux/include/asm-m68k/atarihw.h

Next file: linux/include/asm-m68k/bitops.h
Previous file: linux/include/asm-i386/spinlock.h
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.13/linux/include/asm-m68k/atarihw.h linux/include/asm-m68k/atarihw.h
@@ -22,6 +22,7 @@
 
 #include <linux/types.h>
 #include <asm/bootinfo.h>
+#include <asm/raw_io.h>
 
 extern u_long atari_mch_cookie;
 extern u_long atari_mch_type;
@@ -121,6 +122,15 @@
  * reads from memory). Both '040 and '060 invalidate cache entries on snooped
  * DMA reads (i.e., writes to memory).
  */
+
+
+#define atari_readb   raw_inb
+#define atari_writeb  raw_outb
+
+#define atari_inb_p   raw_inb
+#define atari_outb_p  raw_outb
+
+
 
 #include <linux/mm.h>
 #include <asm/pgalloc.h>

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