patch-2.4.19 linux-2.4.19/include/asm-mips/baget/vac.h
Next file: linux-2.4.19/include/asm-mips/baget/vic.h
Previous file: linux-2.4.19/include/asm-mips/baget/baget.h
Back to the patch index
Back to the overall index
- Lines: 33
- Date:
Fri Aug 2 17:39:45 2002
- Orig file:
linux-2.4.18/include/asm-mips/baget/vac.h
- Orig date:
Sat May 13 08:31:25 2000
diff -urN linux-2.4.18/include/asm-mips/baget/vac.h linux-2.4.19/include/asm-mips/baget/vac.h
@@ -1,12 +1,11 @@
-/* $Id$
- *
+/*
* vac.h: Various VIC controller defines. The VIC is a VME controller
* used in Baget/MIPS series.
*
* Copyright (C) 1998 Gleb Raiko & Vladimir Roganov
*/
-#ifndef _MIPS_VAC_H
-#define _MIPS_VAC_H
+#ifndef _ASM_VAC_H
+#define _ASM_VAC_H
#define VAC_SLSEL1_MASK 0x000
#define VAC_SLSEL1_BASE 0x100
@@ -197,13 +196,13 @@
#define VAC_ID 0x2900
-#ifndef __LANGUAGE_ASSEMBLY__
+#ifndef __ASSEMBLY__
#define vac_inb(p) (*(volatile unsigned char *)(VAC_BASE + (p)))
#define vac_outb(v,p) (*((volatile unsigned char *)(VAC_BASE + (p))) = v)
#define vac_inw(p) (*(volatile unsigned short*)(VAC_BASE + (p)))
#define vac_outw(v,p) (*((volatile unsigned short*)(VAC_BASE + (p))) = v)
-#endif /* __LANGUAGE_ASSEMBLY__ */
+#endif /* !__ASSEMBLY__ */
-#endif /* !(_MIPS_VAC_H) */
+#endif /* _ASM_VAC_H */
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)