From owner-svn-src-all@freebsd.org Mon May 2 04:15:16 2016 Return-Path: Delivered-To: svn-src-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 6658AB29A42; Mon, 2 May 2016 04:15:16 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 33CBF1E26; Mon, 2 May 2016 04:15:16 +0000 (UTC) (envelope-from adrian@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u424FFMF033103; Mon, 2 May 2016 04:15:15 GMT (envelope-from adrian@FreeBSD.org) Received: (from adrian@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u424FFYQ033101; Mon, 2 May 2016 04:15:15 GMT (envelope-from adrian@FreeBSD.org) Message-Id: <201605020415.u424FFYQ033101@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: adrian set sender to adrian@FreeBSD.org using -f From: Adrian Chadd Date: Mon, 2 May 2016 04:15:15 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r298915 - head/sys/dev/mwl X-SVN-Group: head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 May 2016 04:15:16 -0000 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 +#include #include #include #include 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 *);