patch-2.3.23 linux/include/asm-arm/arch-rpc/hardware.h
Next file: linux/include/asm-arm/arch-rpc/irq.h
Previous file: linux/include/asm-arm/arch-rpc/acornfb.h
Back to the patch index
Back to the overall index
- Lines: 27
- Date:
Wed Oct 20 16:29:08 1999
- Orig file:
v2.3.22/linux/include/asm-arm/arch-rpc/hardware.h
- Orig date:
Sat May 8 11:06:57 1999
diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/arch-rpc/hardware.h linux/include/asm-arm/arch-rpc/hardware.h
@@ -41,7 +41,7 @@
#define FLUSH_BASE 0xdf000000
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
/*
* for use with inb/outb
@@ -93,5 +93,17 @@
#define PCIO_BASE 0xe0010000
#endif
+
+#ifdef HAS_EXPMASK
+#ifndef __ASSEMBLY__
+#define __EXPMASK(offset) (((volatile unsigned char *)EXPMASK_BASE)[offset])
+#else
+#define __EXPMASK(offset) offset
+#endif
+
+#define EXPMASK_STATUS __EXPMASK(0x00)
+#define EXPMASK_ENABLE __EXPMASK(0x04)
+
#endif
+#endif
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)