patch-2.4.21 linux-2.4.21/arch/ia64/sn/kernel/iomv.c
Next file: linux-2.4.21/arch/ia64/sn/kernel/irq.c
Previous file: linux-2.4.21/arch/ia64/sn/kernel/bte_regr_test.c
Back to the patch index
Back to the overall index
- Lines: 46
- Date:
2003-06-13 07:51:31.000000000 -0700
- Orig file:
linux-2.4.20/arch/ia64/sn/kernel/iomv.c
- Orig date:
2002-08-02 17:39:43.000000000 -0700
diff -urN linux-2.4.20/arch/ia64/sn/kernel/iomv.c linux-2.4.21/arch/ia64/sn/kernel/iomv.c
@@ -7,15 +7,7 @@
*/
#include <asm/io.h>
-
-#if 1 /* ##jh */
-#ifdef CONFIG_IA64_SGI_SN1
-#define mmiob sn1_mmiob
-#else
-#define mmiob sn2_mmiob
-#endif
-extern void mmiob(void);
-#endif /* ##jh */
+#include <linux/module.h>
extern void * sn_io_addr(unsigned long port); /* defined in sn[12]/iomv.c */
@@ -83,7 +75,6 @@
volatile unsigned char *addr = sn_io_addr(port);
*addr = val;
- mmiob();
}
/**
@@ -99,7 +90,6 @@
volatile unsigned short *addr = sn_io_addr(port);
*addr = val;
- mmiob();
}
/**
@@ -115,5 +105,11 @@
volatile unsigned int *addr = sn_io_addr(port);
*addr = val;
- mmiob();
}
+
+EXPORT_SYMBOL(sn_inb);
+EXPORT_SYMBOL(sn_inw);
+EXPORT_SYMBOL(sn_inl);
+EXPORT_SYMBOL(sn_outb);
+EXPORT_SYMBOL(sn_outw);
+EXPORT_SYMBOL(sn_outl);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)