Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Aug 2013 20:22:58 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r254425 - head/sys/dev/mmc
Message-ID:  <201308162022.r7GKMw50043651@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Aug 16 20:22:57 2013
New Revision: 254425
URL: http://svnweb.freebsd.org/changeset/base/254425

Log:
  Print the card relative address in hex, because that's what all the
  other debugging output does (when it appears in command arguments,
  for example).

Modified:
  head/sys/dev/mmc/mmc.c

Modified: head/sys/dev/mmc/mmc.c
==============================================================================
--- head/sys/dev/mmc/mmc.c	Fri Aug 16 19:44:49 2013	(r254424)
+++ head/sys/dev/mmc/mmc.c	Fri Aug 16 20:22:57 2013	(r254425)
@@ -1209,7 +1209,7 @@ mmc_set_blocklen(struct mmc_softc *sc, u
 static void
 mmc_log_card(device_t dev, struct mmc_ivars *ivar, int newcard)
 {
-	device_printf(dev, "Card at relative address %d%s:\n",
+	device_printf(dev, "Card at relative address 0x%04x%s:\n",
 	    ivar->rca, newcard ? " added" : "");
 	device_printf(dev, " card: %s\n", ivar->card_id_string);
 	device_printf(dev, " bus: %ubit, %uMHz%s\n",



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308162022.r7GKMw50043651>