From c7e77c49f51c68cf5f3fcace2c603f4fc8014762 Mon Sep 17 00:00:00 2001 From: briggs Date: Wed, 12 Mar 1997 13:15:58 +0000 Subject: [PATCH] cleanup. --- sys/arch/mac68k/dev/nubus.c | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/sys/arch/mac68k/dev/nubus.c b/sys/arch/mac68k/dev/nubus.c index 68257796977..5d11e093d5a 100644 --- a/sys/arch/mac68k/dev/nubus.c +++ b/sys/arch/mac68k/dev/nubus.c @@ -1,4 +1,4 @@ -/* $OpenBSD: nubus.c,v 1.8 1997/03/08 16:16:56 briggs Exp $ */ +/* $OpenBSD: nubus.c,v 1.9 1997/03/12 13:15:58 briggs Exp $ */ /* $NetBSD: nubus.c,v 1.32 1997/02/28 07:54:02 scottr Exp $ */ /* @@ -51,9 +51,8 @@ #include "nubus.h" -#define DEBUG #ifdef DEBUG -static int nubus_debug = 0x07; +static int nubus_debug = 0x01; #define NDB_PROBE 0x1 #define NDB_FOLLOW 0x2 #define NDB_ARITH 0x4 @@ -241,15 +240,8 @@ probe_slot(slot, fmt) rom_probe--; -#ifdef DEBUG - if (nubus_debug & NDB_PROBE) { - printf("Peeking %p\n", rom_probe); - } -#endif data = nubus_peek((vm_offset_t) rom_probe, 1); - printf("data %u\n", data); - if (data == (u_int) -1) continue; @@ -713,10 +705,8 @@ nubus_peek(paddr, sz) rv = -1; switch (sz) { case 1: - printf("checking badbaddr\n"); if (!badbaddr(va)) rv = *((u_char *) va); - printf("got back %d\n", rv); break; case 2: if (!badwaddr(va)) @@ -731,12 +721,9 @@ nubus_peek(paddr, sz) rv = -1; } -printf("setting_pte_back\n"); mac68k_set_pte(pgva, PG_NV); -printf("TBIS\n"); TBIS(pgva); -printf("returning %d\n", rv); return rv; } -- 2.20.1