diff options
Diffstat (limited to 'sys/dev/ic/rt2560.c')
-rw-r--r-- | sys/dev/ic/rt2560.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/sys/dev/ic/rt2560.c b/sys/dev/ic/rt2560.c index 7fc917a5dc1..baf1237d3d3 100644 --- a/sys/dev/ic/rt2560.c +++ b/sys/dev/ic/rt2560.c @@ -1,4 +1,4 @@ -/* $OpenBSD: rt2560.c,v 1.42 2008/12/22 18:20:47 damien Exp $ */ +/* $OpenBSD: rt2560.c,v 1.43 2009/03/29 21:53:52 sthen Exp $ */ /*- * Copyright (c) 2005, 2006 @@ -376,7 +376,7 @@ rt2560_alloc_tx_ring(struct rt2560_softc *sc, struct rt2560_tx_ring *ring, count * RT2560_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; } @@ -521,7 +521,7 @@ rt2560_alloc_rx_ring(struct rt2560_softc *sc, struct rt2560_rx_ring *ring, count * RT2560_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; } @@ -1561,7 +1561,7 @@ rt2560_tx_bcn(struct rt2560_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; @@ -1621,7 +1621,7 @@ rt2560_tx_mgt(struct rt2560_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; @@ -1784,7 +1784,7 @@ rt2560_tx_data(struct rt2560_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); @@ -1821,7 +1821,7 @@ rt2560_tx_data(struct rt2560_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; @@ -1849,7 +1849,7 @@ rt2560_tx_data(struct rt2560_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; |