summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authornisimura <nisimura@NetBSD.org>1999-11-16 02:34:30 +0000
committernisimura <nisimura@NetBSD.org>1999-11-16 02:34:30 +0000
commitfb43e6e1771f75f995cb55c8d4f3a010d55bed6f (patch)
treed68ad085c31f11f3ae3b5b81ba13a8f511228f46 /sys
parent1c6749cc03f0339f5962174d5d33e79abcfaa295 (diff)
Remove now defunct definitions and declaratins.
Diffstat (limited to 'sys')
-rw-r--r--sys/arch/pmax/include/tc_machdep.h34
1 files changed, 5 insertions, 29 deletions
diff --git a/sys/arch/pmax/include/tc_machdep.h b/sys/arch/pmax/include/tc_machdep.h
index bd8c0a8cfdc..a0c6219d14c 100644
--- a/sys/arch/pmax/include/tc_machdep.h
+++ b/sys/arch/pmax/include/tc_machdep.h
@@ -1,4 +1,4 @@
-/* $NetBSD: tc_machdep.h,v 1.11 1999/04/24 08:01:10 simonb Exp $ */
+/* $NetBSD: tc_machdep.h,v 1.12 1999/11/16 02:34:30 nisimura Exp $ */
/*
* Copyright (c) 1994, 1995 Carnegie-Mellon University.
@@ -69,39 +69,15 @@ typedef int32_t tc_offset_t;
#define tc_wmb() wbflush()
#define tc_syncbus() wbflush() /* XXX how to do this on a DECstation ? */
-#define tc_badaddr(tcaddr) \
- badaddr((void *)(tcaddr), sizeof (u_int32_t))
+#define tc_badaddr(tcaddr) badaddr((void *)(tcaddr), sizeof (u_int32_t))
#define TC_DENSE_TO_SPARSE(addr) (addr)
#define TC_PHYS_TO_UNCACHED(addr) MIPS_PHYS_TO_KSEG1(addr)
-
-/*
- * Use the following macros to compare device names on a pmax, as
- * the autoconfig structs are in a state of flux.
- */
-#define TC_BUS_MATCHNAME(ta, name) \
- (strncmp( (ta)->ta_modname, (name), TC_ROM_LLEN+1) == 0)
-
-/*
- * Port-specific declarations:
- * Declarations "private" sys/dev/tc/tc.c MI functions used to search
- * for potential TC-option console devices (framebuffers),
- */
-int tc_checkslot __P((tc_addr_t slotbase, char *namep));
-
-/*
- * And declarations for the MD function used to search for and configure
- * a TC framebuffer as system console, and to configure the TC bus
- * (the last is a hack).
- */
-
extern int badaddr __P((void *, u_int));
-extern void config_tcbus __P((struct device *parent, int cputype,
- int printfn __P((void*, const char*)) ));
-extern int tc_findconsole __P((int preferred_slot));
-#define TC_KV(x) ((tc_addr_t)MIPS_PHYS_TO_KSEG1(x))
-#define TC_C(x) ((void *)(u_long)x)
+#define TC_KV(x) ((tc_addr_t)MIPS_PHYS_TO_KSEG1(x))
+#define TC_C(x) ((void *)(u_long)(x))
+
#endif /* __MACHINE_TC_MACHDEP_H__*/