diff options
Diffstat (limited to 'sys/dev/ic/rt2661.c')
-rw-r--r-- | sys/dev/ic/rt2661.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sys/dev/ic/rt2661.c b/sys/dev/ic/rt2661.c index d8a59e8adbe..86efea2c9f9 100644 --- a/sys/dev/ic/rt2661.c +++ b/sys/dev/ic/rt2661.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2661.c,v 1.47 2008/12/22 18:20:47 damien Exp $ */ +/* $OpenBSD: rt2661.c,v 1.48 2009/03/29 21:53:52 sthen Exp $ */ /*- * Copyright (c) 2006 @@ -410,7 +410,7 @@ rt2661_alloc_tx_ring(struct rt2661_softc *sc, struct rt2661_tx_ring *ring, count * RT2661_TX_DESC_SIZE, (caddr_t *)&ring->desc, BUS_DMA_NOWAIT); if (error != 0) { - printf("%s: could not map desc DMA memory\n", + printf("%s: can't map desc DMA memory\n", sc->sc_dev.dv_xname); goto fail; } @@ -552,7 +552,7 @@ rt2661_alloc_rx_ring(struct rt2661_softc *sc, struct rt2661_rx_ring *ring, count * RT2661_RX_DESC_SIZE, (caddr_t *)&ring->desc, BUS_DMA_NOWAIT); if (error != 0) { - printf("%s: could not map desc DMA memory\n", + printf("%s: can't map desc DMA memory\n", sc->sc_dev.dv_xname); goto fail; } @@ -1468,7 +1468,7 @@ rt2661_tx_mgt(struct rt2661_softc *sc, struct mbuf *m0, error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, m0, BUS_DMA_NOWAIT); if (error != 0) { - printf("%s: could not map mbuf (error %d)\n", + printf("%s: can't map mbuf (error %d)\n", sc->sc_dev.dv_xname, error); m_freem(m0); return error; @@ -1629,7 +1629,7 @@ rt2661_tx_data(struct rt2661_softc *sc, struct mbuf *m0, error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, mprot, BUS_DMA_NOWAIT); if (error != 0) { - printf("%s: could not map mbuf (error %d)\n", + printf("%s: can't map mbuf (error %d)\n", sc->sc_dev.dv_xname, error); m_freem(mprot); m_freem(m0); @@ -1665,7 +1665,7 @@ rt2661_tx_data(struct rt2661_softc *sc, struct mbuf *m0, error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, m0, BUS_DMA_NOWAIT); if (error != 0 && error != EFBIG) { - printf("%s: could not map mbuf (error %d)\n", + printf("%s: can't map mbuf (error %d)\n", sc->sc_dev.dv_xname, error); m_freem(m0); return error; @@ -1693,7 +1693,7 @@ rt2661_tx_data(struct rt2661_softc *sc, struct mbuf *m0, error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, m0, BUS_DMA_NOWAIT); if (error != 0) { - printf("%s: could not map mbuf (error %d)\n", + printf("%s: can't map mbuf (error %d)\n", sc->sc_dev.dv_xname, error); m_freem(m0); return error; |