patch-2.4.21 linux-2.4.21/arch/m68k/apollo/dma.c

Next file: linux-2.4.21/arch/m68k/atari/stram.c
Previous file: linux-2.4.21/arch/m68k/apollo/config.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.20/arch/m68k/apollo/dma.c linux-2.4.21/arch/m68k/apollo/dma.c
@@ -10,6 +10,7 @@
 #include <asm/system.h>
 #include <asm/pgtable.h>
 #include <asm/apollodma.h>
+#include <asm/io.h>
 
 /* note only works for 16 Bit 1 page DMA's */
 
@@ -27,7 +28,7 @@
 #if 0
 		printk("phys_addr: %x, page_aligned_addr: %x, start_map_addr: %x\n",phys_addr,page_aligned_addr,start_map_addr+i);
 #endif
-		outw(start_map_addr+i, xlat_map_entry);
+		out_be16(xlat_map_entry, start_map_addr+i);
 	}
 
 	next_free_xlat_entry+=2;

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