Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2006 19:42:59 GMT
From:      John-Mark Gurney <jmg@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 94773 for review
Message-ID:  <200604071942.k37JgxK6041663@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=94773

Change 94773 by jmg@jmg_carbon-60 on 2006/04/07 19:42:46

	make this MI by suggestion from jhb...

Affected files ...

.. //depot/projects/kmacy_sun4v/src/sys/dev/pci/pci_pci.c#6 edit

Differences ...

==== //depot/projects/kmacy_sun4v/src/sys/dev/pci/pci_pci.c#6 (text+ko) ====

@@ -238,13 +238,13 @@
 	else
 	    device_printf(dev, "  I/O decode disabled.\n");
 	if (pcib_is_nonprefetch_open(sc))
-	    device_printf(dev, "  memory decode     0x%lx-0x%lx\n", sc->membase,
-		sc->memlimit);
+	    device_printf(dev, "  memory decode     0x%jx-0x%jx\n",
+		(uintmax_t)sc->membase, (uintmax_t)sc->memlimit);
 	else
 	    device_printf(dev, "  memory decode disabled.\n");
 	if (pcib_is_prefetch_open(sc))
-	    device_printf(dev, "  prefetched decode 0x%lx-0x%lx\n", sc->pmembase,
-		sc->pmemlimit);
+	    device_printf(dev, "  prefetched decode 0x%jx-0x%jx\n",
+		(uintmax_t)sc->pmembase, (uintmax_t)c->pmemlimit);
 	else
 	    device_printf(dev, "  prefetched decode disabled.\n");
 	if (sc->flags & PCIB_SUBTRACTIVE)
@@ -465,10 +465,10 @@
 		if (!ok && bootverbose)
 			device_printf(dev,
 			    "%s requested unsupported memory range "
-			    "0x%lx-0x%lx (decoding 0x%lx-0x%lx, 0x%lx-0x%lx)\n",
+			    "0x%lx-0x%lx (decoding 0x%jx-0x%jx, 0x%jx-0x%jx)\n",
 			    device_get_nameunit(child), start, end,
-			    sc->membase, sc->memlimit, sc->pmembase,
-			    sc->pmemlimit);
+			    (uintmax_t)sc->membase, (uintmax_t)sc->memlimit,
+			    (uintmax_t)sc->pmembase, (uintmax_t)sc->pmemlimit);
 		if (!ok)
 			return (NULL);
 		if (bootverbose)



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