diff options
author | peter <peter@FreeBSD.org> | 2004-02-06 00:10:54 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2004-02-06 00:10:54 +0000 |
commit | d924ca9a4d68b9532523c33e33a0c036dceeb16e (patch) | |
tree | bf4298bacdc140af9d2c5b361c47660018993e40 /sys/dev/ath | |
parent | d87ac0c325ed2071183f1c36945858f3b4e6a355 (diff) | |
download | FreeBSD-src-d924ca9a4d68b9532523c33e33a0c036dceeb16e.zip FreeBSD-src-d924ca9a4d68b9532523c33e33a0c036dceeb16e.tar.gz |
Make this compile on amd64.
"I'll cope" by: sam
Diffstat (limited to 'sys/dev/ath')
-rw-r--r-- | sys/dev/ath/if_ath.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c index 33748a3..378fedf 100644 --- a/sys/dev/ath/if_ath.c +++ b/sys/dev/ath/if_ath.c @@ -1387,8 +1387,8 @@ ath_desc_alloc(struct ath_softc *sc) goto fail1; ds = sc->sc_desc; - DPRINTF(ATH_DEBUG_ANY, ("%s: DMA map: %p (%d) -> %p (%lu)\n", - __func__, ds, sc->sc_desc_len, (caddr_t) sc->sc_desc_paddr, + DPRINTF(ATH_DEBUG_ANY, ("%s: DMA map: %p (%lu) -> %p (%lu)\n", + __func__, ds, (u_long) sc->sc_desc_len, (caddr_t) sc->sc_desc_paddr, /*XXX*/ (u_long) sc->sc_desc_len)); /* allocate buffers */ @@ -2157,7 +2157,7 @@ ath_tx_proc(void *arg, int npending) DPRINTF(ATH_DEBUG_TX_PROC, ("%s: pending %u tx queue %p, link %p\n", __func__, npending, - (caddr_t) ath_hal_gettxbuf(sc->sc_ah, sc->sc_txhalq), + (caddr_t)(uintptr_t) ath_hal_gettxbuf(sc->sc_ah, sc->sc_txhalq), sc->sc_txlink)); for (;;) { ATH_TXQ_LOCK(sc); @@ -2249,12 +2249,12 @@ ath_draintxq(struct ath_softc *sc) (void) ath_hal_stoptxdma(ah, sc->sc_txhalq); DPRINTF(ATH_DEBUG_RESET, ("%s: tx queue %p, link %p\n", __func__, - (caddr_t) ath_hal_gettxbuf(ah, sc->sc_txhalq), + (caddr_t)(uintptr_t) ath_hal_gettxbuf(ah, sc->sc_txhalq), sc->sc_txlink)); (void) ath_hal_stoptxdma(ah, sc->sc_bhalq); DPRINTF(ATH_DEBUG_RESET, ("%s: beacon queue %p\n", __func__, - (caddr_t) ath_hal_gettxbuf(ah, sc->sc_bhalq))); + (caddr_t)(uintptr_t) ath_hal_gettxbuf(ah, sc->sc_bhalq))); } for (;;) { ATH_TXQ_LOCK(sc); @@ -2310,7 +2310,7 @@ ath_stoprecv(struct ath_softc *sc) struct ath_buf *bf; printf("%s: rx queue %p, link %p\n", __func__, - (caddr_t) ath_hal_getrxbuf(ah), sc->sc_rxlink); + (caddr_t)(uintptr_t) ath_hal_getrxbuf(ah), sc->sc_rxlink); TAILQ_FOREACH(bf, &sc->sc_rxbuf, bf_list) { struct ath_desc *ds = bf->bf_desc; if (ath_hal_rxprocdesc(ah, ds, bf->bf_daddr, |