aboutsummaryrefslogtreecommitdiff
path: root/sys/dev/ath
diff options
context:
space:
mode:
authorSam Leffler <sam@FreeBSD.org>2006-05-06 23:23:39 +0000
committerSam Leffler <sam@FreeBSD.org>2006-05-06 23:23:39 +0000
commit34e2d6230c6fee95663af7e92677b8e9f94996ec (patch)
treeb37ca6c9ac13e908fe3aa3e554ff341dcace187c /sys/dev/ath
parent7dfd9569a2f0637fb9a48157b1c1bfe5709faee3 (diff)
Notes
Diffstat (limited to 'sys/dev/ath')
-rw-r--r--sys/dev/ath/if_ath.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/dev/ath/if_ath.c b/sys/dev/ath/if_ath.c
index 2ff530bb837d..0fe74d6e0614 100644
--- a/sys/dev/ath/if_ath.c
+++ b/sys/dev/ath/if_ath.c
@@ -293,7 +293,8 @@ ath_attach(u_int16_t devid, struct ath_softc *sc)
if_initname(ifp, device_get_name(sc->sc_dev),
device_get_unit(sc->sc_dev));
- ah = ath_hal_attach(devid, sc, sc->sc_st, sc->sc_sh, &status);
+ ah = ath_hal_attach(devid, sc, (HAL_BUS_TAG) sc->sc_st,
+ (HAL_BUS_HANDLE) sc->sc_sh, &status);
if (ah == NULL) {
if_printf(ifp, "unable to attach hardware; HAL status %u\n",
status);