svn commit: r326924 - head/sys/arm/broadcom/bcm2835

Ian Lepore ian at FreeBSD.org
Mon Dec 18 00:15:55 UTC 2017


Author: ian
Date: Mon Dec 18 00:15:53 2017
New Revision: 326924
URL: https://svnweb.freebsd.org/changeset/base/326924

Log:
  Fix debugging output, fallout from something like s/read/readctl/g
  while renaming variables in a previous change.

Modified:
  head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c

Modified: head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c
==============================================================================
--- head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c	Sun Dec 17 22:12:57 2017	(r326923)
+++ head/sys/arm/broadcom/bcm2835/bcm2835_bsc.c	Mon Dec 18 00:15:53 2017	(r326924)
@@ -610,7 +610,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, u
 		 */
 		if (sc->sc_replen == 0) {
 			DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ", 
-			    (curisread) ? "readctl" : "write", curslave,
+			    (curisread) ? "read" : "write", curslave,
 			    sc->sc_totlen);
 			curlen = sc->sc_totlen;
 			if (curisread) {
@@ -622,7 +622,7 @@ bcm_bsc_transfer(device_t dev, struct iic_msg *msgs, u
 			}
 		} else {
 			DEVICE_DEBUGF(sc, 1, "%-6s 0x%02x len %d: ", 
-			    (curisread) ? "readctl" : "write", curslave,
+			    (curisread) ? "read" : "write", curslave,
 			    sc->sc_replen);
 
 			/*


More information about the svn-src-head mailing list