From owner-p4-projects@FreeBSD.ORG Thu Apr 3 21:21:46 2008 Return-Path: Delivered-To: p4-projects@freebsd.org Received: by hub.freebsd.org (Postfix, from userid 32767) id 920BF1065670; Thu, 3 Apr 2008 21:21: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 5085B106564A for ; Thu, 3 Apr 2008 21:21:46 +0000 (UTC) (envelope-from thompsa@freebsd.org) Received: from repoman.freebsd.org (repoman.freebsd.org [IPv6:2001:4f8:fff6::29]) by mx1.freebsd.org (Postfix) with ESMTP id 37E488FC14 for ; Thu, 3 Apr 2008 21:21:46 +0000 (UTC) (envelope-from thompsa@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 m33LLkhI030250 for ; Thu, 3 Apr 2008 21:21:46 GMT (envelope-from thompsa@freebsd.org) Received: (from perforce@localhost) by repoman.freebsd.org (8.14.1/8.14.1/Submit) id m33LLkQv030248 for perforce@freebsd.org; Thu, 3 Apr 2008 21:21:46 GMT (envelope-from thompsa@freebsd.org) Date: Thu, 3 Apr 2008 21:21:46 GMT Message-Id: <200804032121.m33LLkQv030248@repoman.freebsd.org> X-Authentication-Warning: repoman.freebsd.org: perforce set sender to thompsa@freebsd.org using -f From: Andrew Thompson To: Perforce Change Reviews Cc: Subject: PERFORCE change 139296 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: Thu, 03 Apr 2008 21:21:46 -0000 http://perforce.freebsd.org/chv.cgi?CH=139296 Change 139296 by thompsa@thompsa_burger on 2008/04/03 21:20:49 The ieee80211com struct must be first or bad things happen. Affected files ... .. //depot/projects/vap/sys/dev/ipw/if_ipwvar.h#7 edit .. //depot/projects/vap/sys/dev/iwi/if_iwivar.h#9 edit .. //depot/projects/vap/sys/dev/iwn/if_iwnvar.h#4 edit .. //depot/projects/vap/sys/dev/ral/rt2560var.h#15 edit .. //depot/projects/vap/sys/dev/ral/rt2661var.h#11 edit .. //depot/projects/vap/sys/dev/wpi/if_wpivar.h#5 edit Differences ... ==== //depot/projects/vap/sys/dev/ipw/if_ipwvar.h#7 (text+ko) ==== @@ -85,8 +85,8 @@ #define IPW_VAP(vap) ((struct ipw_vap *)(vap)) struct ipw_softc { + struct ieee80211com sc_ic; /* NB: must be first */ struct ifnet *sc_ifp; - struct ieee80211com sc_ic; device_t sc_dev; struct mtx sc_mtx; ==== //depot/projects/vap/sys/dev/iwi/if_iwivar.h#9 (text+ko) ==== @@ -123,8 +123,8 @@ #define IWI_VAP(vap) ((struct iwi_vap *)(vap)) struct iwi_softc { + struct ieee80211com sc_ic; /* NB: must be first */ struct ifnet *sc_ifp; - struct ieee80211com sc_ic; void (*sc_node_free)(struct ieee80211_node *); device_t sc_dev; ==== //depot/projects/vap/sys/dev/iwn/if_iwnvar.h#4 (text+kox) ==== @@ -136,7 +136,7 @@ #define IWN_VAP(_vap) ((struct iwn_vap *)(_vap)) struct iwn_softc { - struct ieee80211com sc_ic; + struct ieee80211com sc_ic; /* NB: must be first */ struct ifnet *sc_ifp; int sc_debug; struct callout sc_timer_to; /* calib+watchdog timer */ ==== //depot/projects/vap/sys/dev/ral/rt2560var.h#15 (text) ==== @@ -110,7 +110,7 @@ #define RT2560_VAP(vap) ((struct rt2560_vap *)(vap)) struct rt2560_softc { - struct ieee80211com sc_ic; + struct ieee80211com sc_ic; /* NB: must be first */ struct ifnet *sc_ifp; device_t sc_dev; bus_space_tag_t sc_st; ==== //depot/projects/vap/sys/dev/ral/rt2661var.h#11 (text) ==== @@ -102,7 +102,7 @@ #define RT2661_VAP(vap) ((struct rt2661_vap *)(vap)) struct rt2661_softc { - struct ieee80211com sc_ic; + struct ieee80211com sc_ic; /* NB: must be first */ struct ifnet *sc_ifp; device_t sc_dev; bus_space_tag_t sc_st; ==== //depot/projects/vap/sys/dev/wpi/if_wpivar.h#5 (text+ko) ==== @@ -135,9 +135,9 @@ #define WPI_VAP(vap) ((struct wpi_vap *)(vap)) struct wpi_softc { + struct ieee80211com sc_ic; /* NB: must be first */ device_t sc_dev; struct ifnet *sc_ifp; - struct ieee80211com sc_ic; struct mtx sc_mtx; /* Flags indicating the current state the driver