patch-2.4.6 linux/include/asm-m68k/amigayle.h

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

diff -u --recursive --new-file v2.4.5/linux/include/asm-m68k/amigayle.h linux/include/asm-m68k/amigayle.h
@@ -17,8 +17,8 @@
 #ifndef _M68K_AMIGAYLE_H_
 #define _M68K_AMIGAYLE_H_
 
+#include <linux/types.h>
 #include <asm/amigahw.h>
-#include <asm/io.h>
 
 /* memory layout */
 
@@ -59,11 +59,13 @@
 
 #define gayle_attribute ((volatile u_char *)(GAYLE_ATTRIBUTE))
 
+#if 0
 #define gayle_inb(a) readb( GAYLE_IO+(a)+(((a)&1)*GAYLE_ODD) )
 #define gayle_outb(v,a) writeb( v, GAYLE_IO+(a)+(((a)&1)*GAYLE_ODD) )
 
 #define gayle_inw(a) readw( GAYLE_IO+(a) )
 #define gayle_outw(v,a) writew( v, GAYLE_IO+(a) )
+#endif
 
 /* GAYLE_CARDSTATUS bit def */
 

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