patch-2.3.23 linux/include/asm-arm/arch-arc/hardware.h
Next file: linux/include/asm-arm/arch-arc/ide.h
Previous file: linux/include/asm-arm/arch-arc/a.out.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-arc/hardware.h
- Orig date:
Sat May 8 11:06:57 1999
diff -u --recursive --new-file v2.3.22/linux/include/asm-arm/arch-arc/hardware.h linux/include/asm-arm/arch-arc/hardware.h
@@ -49,7 +49,7 @@
#define SCREEN1_BASE 0x01f88000
-#ifndef __ASSEMBLER__
+#ifndef __ASSEMBLY__
/*
* for use with inb/outb
@@ -101,5 +101,17 @@
#define PCIO_BASE 0x03010000
#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)