patch-2.4.4 linux/arch/sh/kernel/io_dc.c

Next file: linux/arch/sh/kernel/io_ec3104.c
Previous file: linux/arch/sh/kernel/io_cat68701.c
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.4.3/linux/arch/sh/kernel/io_dc.c linux/arch/sh/kernel/io_dc.c
@@ -0,0 +1,13 @@
+/*
+ *	$Id: io_dc.c,v 1.1 2001/04/01 15:02:00 yaegashi Exp $
+ *	I/O routines for SEGA Dreamcast
+ */
+
+#include <linux/config.h>
+#include <asm/io.h>
+#include <asm/machvec.h>
+
+unsigned long dreamcast_isa_port2addr(unsigned long offset)
+{
+	return offset + 0xa0000000;
+}

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