Date: Mon, 2 May 2016 04:15:15 +0000 (UTC) From: Adrian Chadd <adrian@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298915 - head/sys/dev/mwl Message-ID: <201605020415.u424FFYQ033101@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: adrian Date: Mon May 2 04:15:15 2016 New Revision: 298915 URL: https://svnweb.freebsd.org/changeset/base/298915 Log: [mwl] s/struct device/device_t/ Submitted by: kmacy Modified: head/sys/dev/mwl/if_mwlvar.h head/sys/dev/mwl/mwlhal.h Modified: head/sys/dev/mwl/if_mwlvar.h ============================================================================== --- head/sys/dev/mwl/if_mwlvar.h Mon May 2 02:15:05 2016 (r298914) +++ head/sys/dev/mwl/if_mwlvar.h Mon May 2 04:15:15 2016 (r298915) @@ -37,6 +37,7 @@ #define _DEV_MWL_MVVAR_H #include <sys/endian.h> +#include <sys/bus.h> #include <net80211/ieee80211_radiotap.h> #include <dev/mwl/mwlhal.h> #include <dev/mwl/mwlreg.h> Modified: head/sys/dev/mwl/mwlhal.h ============================================================================== --- head/sys/dev/mwl/mwlhal.h Mon May 2 02:15:05 2016 (r298914) +++ head/sys/dev/mwl/mwlhal.h Mon May 2 04:15:15 2016 (r298915) @@ -71,15 +71,13 @@ enum { MWL_WME_AC_VO = 3, /* voice access category */ }; -struct device; - struct mwl_hal { bus_space_handle_t mh_ioh; /* BAR 1 copied from softc */ bus_space_tag_t mh_iot; uint32_t mh_imask; /* interrupt mask */ /* remainder is opaque to driver */ }; -struct mwl_hal *mwl_hal_attach(struct device *dev, uint16_t devid, +struct mwl_hal *mwl_hal_attach(device_t dev, uint16_t devid, bus_space_handle_t ioh, bus_space_tag_t iot, bus_dma_tag_t tag); void mwl_hal_detach(struct mwl_hal *);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201605020415.u424FFYQ033101>