Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/vax/vax Don't complain about Abuses that don't exis...



details:   https://anonhg.NetBSD.org/src/rev/6e6e2109ffc5
branches:  trunk
changeset: 534395:6e6e2109ffc5
user:      ragge <ragge%NetBSD.org@localhost>
date:      Wed Jul 24 10:17:45 2002 +0000

description:
Don't complain about Abuses that don't exist and tell about unsupported CI's.
>From Johnny Billquist.

diffstat:

 sys/arch/vax/vax/ka860.c |  6 +++++-
 sys/arch/vax/vax/sbi.c   |  6 +++++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (42 lines):

diff -r edf897ecc09b -r 6e6e2109ffc5 sys/arch/vax/vax/ka860.c
--- a/sys/arch/vax/vax/ka860.c  Wed Jul 24 06:04:43 2002 +0000
+++ b/sys/arch/vax/vax/ka860.c  Wed Jul 24 10:17:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ka860.c,v 1.16 2000/08/09 03:02:54 tv Exp $    */
+/*     $NetBSD: ka860.c,v 1.17 2002/07/24 10:17:45 ragge Exp $ */
 /*
  * Copyright (c) 1986, 1988 Regents of the University of California.
  * All rights reserved.
@@ -415,8 +415,12 @@
         void *aux;
         const char *hej;
 {
+#if ABUS_VERBOSE
         struct bp_conf *bp = aux;
         if (hej)
                 printf("%s at %s", bp->type, hej);
         return (UNCONF);
+#else
+       return (QUIET);
+#endif
 }
diff -r edf897ecc09b -r 6e6e2109ffc5 sys/arch/vax/vax/sbi.c
--- a/sys/arch/vax/vax/sbi.c    Wed Jul 24 06:04:43 2002 +0000
+++ b/sys/arch/vax/vax/sbi.c    Wed Jul 24 10:17:45 2002 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: sbi.c,v 1.22 2002/06/04 19:04:32 ragge Exp $ */
+/*     $NetBSD: sbi.c,v 1.23 2002/07/24 10:17:45 ragge Exp $ */
 /*
  * Copyright (c) 1994 Ludd, University of Lule}, Sweden.
  * All rights reserved.
@@ -59,6 +59,10 @@
                case NEX_MBA:
                        printf("mba at %s", name);
                        break;
+               case NEX_CI:
+                       printf("ci at %s", name);
+                       unsupp++;
+                       break;
                default:
                        printf("unknown device 0x%x at %s", sa->sa_type, name);
                        unsupp++;



Home | Main Index | Thread Index | Old Index