Author: imp
Date: Sat Jun 16 04:34:46 2012
New Revision: 237151
URL: http://svn.freebsd.org/changeset/base/237151

Log:
  Throw this debug behind bootverbose.  The information isn't all that
  exciting once the initial board bring up is over.

Modified:
  head/sys/arm/at91/at91_pio.c

Modified: head/sys/arm/at91/at91_pio.c
==============================================================================
--- head/sys/arm/at91/at91_pio.c        Fri Jun 15 23:07:51 2012        
(r237150)
+++ head/sys/arm/at91/at91_pio.c        Sat Jun 16 04:34:46 2012        
(r237151)
@@ -143,9 +143,10 @@ at91_pio_attach(device_t dev)
        if (err)
                goto out;
 
-       device_printf(dev, "ABSR: %#x OSR: %#x PSR:%#x ODSR: %#x\n",
-           RD4(sc, PIO_ABSR), RD4(sc, PIO_OSR), RD4(sc, PIO_PSR),
-           RD4(sc, PIO_ODSR));
+        if (bootverbose)
+               device_printf(dev, "ABSR: %#x OSR: %#x PSR:%#x ODSR: %#x\n",
+                   RD4(sc, PIO_ABSR), RD4(sc, PIO_OSR), RD4(sc, PIO_PSR),
+                   RD4(sc, PIO_ODSR));
        AT91_PIO_LOCK_INIT(sc);
 
        /*
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to