Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/mvme68k/include G/C the IIO* #defines. They're no l...



details:   https://anonhg.NetBSD.org/src/rev/61b56c39c723
branches:  trunk
changeset: 495215:61b56c39c723
user:      scw <scw%NetBSD.org@localhost>
date:      Mon Jul 24 11:20:47 2000 +0000

description:
G/C the IIO* #defines. They're no longer needed.

diffstat:

 sys/arch/mvme68k/include/cpu.h |  17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diffs (38 lines):

diff -r c9d43dd7acef -r 61b56c39c723 sys/arch/mvme68k/include/cpu.h
--- a/sys/arch/mvme68k/include/cpu.h    Mon Jul 24 10:52:28 2000 +0000
+++ b/sys/arch/mvme68k/include/cpu.h    Mon Jul 24 11:20:47 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: cpu.h,v 1.16 2000/05/27 14:45:36 scw Exp $     */
+/*     $NetBSD: cpu.h,v 1.17 2000/07/24 11:20:47 scw Exp $     */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -204,7 +204,7 @@
 int    cachectl1 __P((unsigned long, vaddr_t, size_t, struct proc *));
 int    dma_cachectl __P((caddr_t, int));
 
-/* physical memory sections for mvme147 */
+/* physical memory addresses where mvme147's onboard devices live */
 #define        INTIOBASE147    (0xfffe0000u)
 #define        INTIOTOP147     (0xfffe5000u)
 
@@ -212,19 +212,6 @@
 #define        INTIOBASE167    (0xfff40000u)
 #define        INTIOTOP167     (0xfffd0000u)
 
-/*
- * Internal IO space:
- *
- * Internal IO space is mapped in the kernel from ``intiobase'' to
- * ``intiolimit'' (defined in locore.s).  Since it is always mapped,
- * conversion between physical and kernel virtual addresses is easy.
- */
-#define        ISIIOVA(va) \
-       ((char *)(va) >= intiobase && (char *)(va) < intiolimit)
-#define        IIOV(pa)        (((u_int)(pa) - intiobase_phys) + (u_int)intiobase)
-#define        IIOP(va)        (((u_int)(va) - (u_int)intiobase) + intiobase_phys)
-#define        IIOPOFF(pa)     ((u_int)(pa) - intiobase_phys)
-
 #endif /* _KERNEL */
 
 #endif /* _MACHINE_CPU_H_ */



Home | Main Index | Thread Index | Old Index