summaryrefslogtreecommitdiffstats
path: root/sys/dev/gem
diff options
context:
space:
mode:
authortmm <tmm@FreeBSD.org>2004-04-23 19:43:35 +0000
committertmm <tmm@FreeBSD.org>2004-04-23 19:43:35 +0000
commitefd358901d3ea5bb1206ddd1732d9ddf1dd71345 (patch)
tree65ce88fb80f0b88171b94b4633b2e68f670c1268 /sys/dev/gem
parentea8607cc654d539160ae9028be70619b55ca9507 (diff)
downloadFreeBSD-src-efd358901d3ea5bb1206ddd1732d9ddf1dd71345.zip
FreeBSD-src-efd358901d3ea5bb1206ddd1732d9ddf1dd71345.tar.gz
Clean up two printf()s that were on a line by themselves unintendedly
after the ethernet address printing was moved to common code.
Diffstat (limited to 'sys/dev/gem')
-rw-r--r--sys/dev/gem/if_gem.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/dev/gem/if_gem.c b/sys/dev/gem/if_gem.c
index 6532423..bf1372f 100644
--- a/sys/dev/gem/if_gem.c
+++ b/sys/dev/gem/if_gem.c
@@ -237,11 +237,11 @@ gem_attach(sc)
/* Get RX FIFO size */
sc->sc_rxfifosize = 64 *
bus_space_read_4(sc->sc_bustag, sc->sc_h, GEM_RX_FIFO_SIZE);
- printf(", %uKB RX fifo", sc->sc_rxfifosize / 1024);
/* Get TX FIFO size */
v = bus_space_read_4(sc->sc_bustag, sc->sc_h, GEM_TX_FIFO_SIZE);
- printf(", %uKB TX fifo\n", v / 16);
+ device_printf(sc->sc_dev, "%ukB RX FIFO, %ukB TX FIFO\n",
+ sc->sc_rxfifosize / 1024, v / 16);
/* Initialize ifnet structure. */
ifp->if_softc = sc;
OpenPOWER on IntegriCloud