svn commit: r237151 - head/sys/arm/at91
Warner Losh
imp at FreeBSD.org
Sat Jun 16 04:34:47 UTC 2012
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);
/*
More information about the svn-src-all
mailing list