Clean up two printf()s that were on a line by themselves unintendedly
after the ethernet address printing was moved to common code.
This commit is contained in:
parent
2f595a7c52
commit
0b3daa762b
@ -237,11 +237,11 @@ gem_attach(sc)
|
|||||||
/* Get RX FIFO size */
|
/* Get RX FIFO size */
|
||||||
sc->sc_rxfifosize = 64 *
|
sc->sc_rxfifosize = 64 *
|
||||||
bus_space_read_4(sc->sc_bustag, sc->sc_h, GEM_RX_FIFO_SIZE);
|
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 */
|
/* Get TX FIFO size */
|
||||||
v = bus_space_read_4(sc->sc_bustag, sc->sc_h, GEM_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. */
|
/* Initialize ifnet structure. */
|
||||||
ifp->if_softc = sc;
|
ifp->if_softc = sc;
|
||||||
|
Loading…
Reference in New Issue
Block a user