PERFORCE change 139296 for review
Andrew Thompson
thompsa at FreeBSD.org
Thu Apr 3 21:21:46 UTC 2008
http://perforce.freebsd.org/chv.cgi?CH=139296
Change 139296 by thompsa at 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
More information about the p4-projects
mailing list