From owner-p4-projects@FreeBSD.ORG Fri Apr 18 23:29:46 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 37C481065671; Fri, 18 Apr 2008 23:29:46 +0000 (UTC) Delivered-To: perforce@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id EE790106566C for ; Fri, 18 Apr 2008 23:29:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id DE7D48FC12 for ; Fri, 18 Apr 2008 23:29:45 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from repoman.freebsd.org (localhost [127.0.0.1]) by repoman.freebsd.org (8.14.1/8.14.1) with ESMTP id m3INTjao012076 for ; Fri, 18 Apr 2008 23:29:45 GMT (envelope-from sam@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m3INTjxh012074 for perforce@freebsd.org; Fri, 18 Apr 2008 23:29:45 GMT (envelope-from sam@freebsd.org) Date: Fri, 18 Apr 2008 23:29:45 GMT Message-Id: <200804182329.m3INTjxh012074@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to sam@freebsd.org using -f From: Sam Leffler To: Perforce Change Reviews Cc: Subject: PERFORCE change 140232 for review X-BeenThere: p4-projects@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: p4 projects tree changes List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 18 Apr 2008 23:29:46 -0000 http://perforce.freebsd.org/chv.cgi?CH=140232 Change 140232 by sam@sam_ebb on 2008/04/18 23:28:59 make it build Affected files ... .. //depot/projects/vap/sys/dev/iwn/if_iwn.c#11 edit Differences ... ==== //depot/projects/vap/sys/dev/iwn/if_iwn.c#11 (text+kox) ==== @@ -173,7 +173,9 @@ void iwn_stop_master(struct iwn_softc *); int iwn_reset(struct iwn_softc *); void iwn_hw_config(struct iwn_softc *); +void iwn_init_locked(struct iwn_softc *); void iwn_init(void *); +void iwn_stop_locked(struct iwn_softc *); void iwn_stop(struct iwn_softc *); static void iwn_scan_start(struct ieee80211com *); static void iwn_scan_end(struct ieee80211com *); @@ -4113,7 +4115,6 @@ iwn_init_locked(struct iwn_softc *sc) { struct ifnet *ifp = sc->sc_ifp; - struct ieee80211com *ic = ifp->if_l2com; uint32_t tmp; int error, qid; @@ -4243,7 +4244,7 @@ ieee80211_start_all(ic); } -static void +void iwn_stop_locked(struct iwn_softc *sc) { struct ifnet *ifp = sc->sc_ifp;