patch-2.4.19 linux-2.4.19/include/asm-mips/baget/vic.h
Next file: linux-2.4.19/include/asm-mips/bcache.h
Previous file: linux-2.4.19/include/asm-mips/baget/vac.h
Back to the patch index
Back to the overall index
- Lines: 31
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/baget/vic.h
- Orig date:
Sat May 13 08:31:25 2000
diff -urN linux-2.4.18/include/asm-mips/baget/vic.h linux-2.4.19/include/asm-mips/baget/vic.h
@@ -1,12 +1,11 @@
-/* $Id$
- *
+/*
* vic.h: Various VIC controller defines. The VIC is an interrupt controller
* used in Baget/MIPS series.
*
* Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
*/
-#ifndef _MIPS_VIC_H
-#define _MIPS_VIC_H
+#ifndef _ASM_BAGET_VIC_H
+#define _ASM_BAGET_VIC_H
#define VIC_VME_II 0x3
#define VIC_VME_INT1 0x7
@@ -183,11 +182,11 @@
#define VIC_BXFER_LEN_HI 0xDF
#define VIC_SYS_RESET 0xE3
-#ifndef __LANGUAGE_ASSEMBLY__
+#ifndef __ASSEMBLY__
#define vic_inb(p) (*(volatile unsigned char *)(VIC_BASE + (p)))
#define vic_outb(v,p) (*((volatile unsigned char *)(VIC_BASE + (p))) = v)
-#endif /* __LANGUAGE_ASSEMBLY__ */
+#endif /* !__ASSEMBLY__ */
-#endif /* !(_MIPS_VIC_H) */
+#endif /* _ASM_BAGET_VIC_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)