Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 24 May 2002 05:59:01 -0700 (PDT)
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 11833 for review
Message-ID:  <200205241259.g4OCx1776294@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://people.freebsd.org/~peter/p4db/chv.cgi?CH=11833

Change 11833 by tmm@tmm_sparc64 on 2002/05/24 05:58:57

	printf() -> device_printf() for some debug output.

Affected files ...

... //depot/projects/sparc64/sys/dev/gem/if_gem.c#15 edit

Differences ...

==== //depot/projects/sparc64/sys/dev/gem/if_gem.c#15 (text+ko) ====

@@ -275,12 +275,12 @@
 	 */
 	if (sc->sc_phys[1]) {
 #ifdef GEM_DEBUG
-		printf("using external phy\n");
+		device_printf(sc->sc_dev, "using external phy\n");
 #endif
 		sc->sc_mif_config |= GEM_MIF_CONFIG_PHY_SEL;
 	} else {
 #ifdef GEM_DEBUG
-		printf("using internal phy\n");
+		device_printf(sc->sc_dev, "using internal phy\n");
 #endif
 		sc->sc_mif_config &= ~GEM_MIF_CONFIG_PHY_SEL;
 	}

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe p4-projects" in the body of the message




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