patch-2.4.6 linux/arch/sh/kernel/io_hd64465.c
Next file: linux/arch/sh/kernel/io_sh2000.c
Previous file: linux/arch/sh/kernel/io_dc.c
Back to the patch index
Back to the overall index
-  Lines: 25
-  Date:
Wed Jun 27 13:55:29 2001
-  Orig file: 
v2.4.5/linux/arch/sh/kernel/io_hd64465.c
-  Orig date: 
Wed Apr 11 21:24:52 2001
diff -u --recursive --new-file v2.4.5/linux/arch/sh/kernel/io_hd64465.c linux/arch/sh/kernel/io_hd64465.c
@@ -1,5 +1,5 @@
 /*
- * $Id: io_hd64465.c,v 1.6 2001/02/15 09:13:51 dave_mckay Exp $
+ * $Id: io_hd64465.c,v 1.7 2001/05/09 07:39:36 gniibe Exp $
  * by Greg Banks <gbanks@pocketpenguins.com>
  * (c) 2000 PocketPenguins Inc
  *
@@ -52,6 +52,8 @@
 #define MAX(a,b)    ((a)>(b)?(a):(b))
 #endif
 
+#define PORT2ADDR(x) (sh_mv.mv_isa_port2addr(x))
+
 void hd64465_port_map(unsigned short baseport, unsigned int nports,
 		      unsigned long addr, unsigned char shift)
 {
@@ -101,7 +103,7 @@
 }
 EXPORT_SYMBOL(hd64465_port_unmap);
 
-static /*__inline__*/ unsigned long PORT2ADDR(unsigned long port)
+unsigned long hd64465_isa_port2addr(unsigned long port)
 {
     	unsigned long addr = 0;
 	unsigned char shift;
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)