The whole COM_QUIET thing is just too gross - our kernel is already way
authorJordan K. Hubbard <jkh@FreeBSD.org>
Wed, 15 Jun 1994 23:26:42 +0000 (23:26 +0000)
committerJordan K. Hubbard <jkh@FreeBSD.org>
Wed, 15 Jun 1994 23:26:42 +0000 (23:26 +0000)
too verbose as it is!  I've reversed it and made it COM_VERBOSE, which
people can enable if _they really want to_.  I'll change the doc as well

sys/i386/isa/sio.c

index f1d91f3..c77dd75 100644 (file)
@@ -31,7 +31,7 @@
  * SUCH DAMAGE.
  *
  *     from: @(#)com.c 7.5 (Berkeley) 5/16/91
  * SUCH DAMAGE.
  *
  *     from: @(#)com.c 7.5 (Berkeley) 5/16/91
- *     $Id: sio.c,v 1.53 1994/05/31 23:27:46 ache Exp $
+ *     $Id: sio.c,v 1.54 1994/06/08 00:07:24 ache Exp $
  */
 
 #include "sio.h"
  */
 
 #include "sio.h"
@@ -87,7 +87,7 @@
 #endif /* COM_MULTIPORT */
 
 #define        COM_NOFIFO(dev) ((dev)->id_flags & 0x02)
 #endif /* COM_MULTIPORT */
 
 #define        COM_NOFIFO(dev) ((dev)->id_flags & 0x02)
-#define        COM_QUIET(dev)  ((dev)->id_flags & 0x80)
+#define        COM_VERBOSE(dev) ((dev)->id_flags & 0x80)
 
 #define        com_scr         7       /* scratch register for 16450-16550 (R/W) */
 
 
 #define        com_scr         7       /* scratch register for 16450-16550 (R/W) */
 
@@ -496,7 +496,7 @@ sioprobe(dev)
                if (failures[fn]) {
                        outb(iobase + com_mcr, 0);
                        result = 0;
                if (failures[fn]) {
                        outb(iobase + com_mcr, 0);
                        result = 0;
-                       if (!COM_QUIET(dev))
+                       if (COM_VERBOSE(dev))
                                printf("sio%d: probe test %d failed\n",
                                       dev->id_unit, fn);
                }
                                printf("sio%d: probe test %d failed\n",
                                       dev->id_unit, fn);
                }