patch-2.4.19 linux-2.4.19/include/asm-arm/arch-rpc/io.h
Next file: linux-2.4.19/include/asm-arm/arch-sa1100/SA-1111.h
Previous file: linux-2.4.19/include/asm-arm/arch-nexuspci/uncompress.h
Back to the patch index
Back to the overall index
- Lines: 14
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-arm/arch-rpc/io.h
- Orig date:
Sun Aug 12 11:14:00 2001
diff -urN linux-2.4.18/include/asm-arm/arch-rpc/io.h linux-2.4.19/include/asm-arm/arch-rpc/io.h
@@ -241,4 +241,13 @@
/* the following macro is depreciated */
#define ioaddr(port) __ioaddr((port))
+#define insb(p,d,l) __raw_readsb(__ioaddr(p),d,l)
+#define insw(p,d,l) __raw_readsw(__ioaddr(p),d,l)
+
+#define outsb(p,d,l) __raw_writesb(__ioaddr(p),d,l)
+#define outsw(p,d,l) __raw_writesw(__ioaddr(p),d,l)
+
+#define iomem_valid_addr(o,s) (1)
+#define iomem_to_phys(a) (a)
+
#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)