summaryrefslogtreecommitdiff
path: root/sys/dev/ic/rt2860.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/dev/ic/rt2860.c')
-rw-r--r--sys/dev/ic/rt2860.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ic/rt2860.c b/sys/dev/ic/rt2860.c
index 9ab4a655e34..abad8e64c74 100644
--- a/sys/dev/ic/rt2860.c
+++ b/sys/dev/ic/rt2860.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: rt2860.c,v 1.32 2009/01/26 19:18:52 damien Exp $ */
+/* $OpenBSD: rt2860.c,v 1.33 2009/03/29 21:53:52 sthen Exp $ */
/*-
* Copyright (c) 2007, 2008
@@ -389,7 +389,7 @@ rt2860_alloc_tx_ring(struct rt2860_softc *sc, struct rt2860_tx_ring *ring)
error = bus_dmamem_map(sc->sc_dmat, &ring->seg, nsegs, size,
(caddr_t *)&ring->txd, BUS_DMA_NOWAIT);
if (error != 0) {
- printf("%s: could not map DMA memory\n", sc->sc_dev.dv_xname);
+ printf("%s: can't map DMA memory\n", sc->sc_dev.dv_xname);
goto fail;
}
@@ -499,7 +499,7 @@ rt2860_alloc_tx_pool(struct rt2860_softc *sc)
error = bus_dmamem_map(sc->sc_dmat, &sc->txwi_seg, nsegs, size,
&sc->txwi_vaddr, BUS_DMA_NOWAIT);
if (error != 0) {
- printf("%s: could not map DMA memory\n", sc->sc_dev.dv_xname);
+ printf("%s: can't map DMA memory\n", sc->sc_dev.dv_xname);
goto fail;
}
@@ -589,7 +589,7 @@ rt2860_alloc_rx_ring(struct rt2860_softc *sc, struct rt2860_rx_ring *ring)
error = bus_dmamem_map(sc->sc_dmat, &ring->seg, nsegs, size,
(caddr_t *)&ring->rxd, BUS_DMA_NOWAIT);
if (error != 0) {
- printf("%s: could not map DMA memory\n", sc->sc_dev.dv_xname);
+ printf("%s: can't map DMA memory\n", sc->sc_dev.dv_xname);
goto fail;
}
@@ -1489,7 +1489,7 @@ rt2860_tx(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, m,
BUS_DMA_NOWAIT);
if (__predict_false(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(m);
return error;
@@ -1527,7 +1527,7 @@ rt2860_tx(struct rt2860_softc *sc, struct mbuf *m, struct ieee80211_node *ni)
error = bus_dmamap_load_mbuf(sc->sc_dmat, data->map, m,
BUS_DMA_NOWAIT);
if (__predict_false(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(m);
return error;