Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 16 Jan 2008 03:50:18 GMT
From:      Sam Leffler <sam@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 133395 for review
Message-ID:  <200801160350.m0G3oIqB044831@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=133395

Change 133395 by sam@sam_ebb on 2008/01/16 03:50:15

	move com structure to the front of the softc

Affected files ...

.. //depot/projects/vap/sys/dev/usb/if_rumvar.h#4 edit
.. //depot/projects/vap/sys/dev/usb/if_uralvar.h#6 edit
.. //depot/projects/vap/sys/dev/usb/if_zydreg.h#4 edit

Differences ...

==== //depot/projects/vap/sys/dev/usb/if_rumvar.h#4 (text+ko) ====

@@ -82,8 +82,8 @@
 #define	RUM_VAP(vap)	((struct rum_vap *)(vap))
 
 struct rum_softc {
+	struct ieee80211com		sc_ic;		/* NB: must be first */
 	struct ifnet			*sc_ifp;
-	struct ieee80211com		sc_ic;
 
 	device_t			sc_dev;
 	usbd_device_handle		sc_udev;

==== //depot/projects/vap/sys/dev/usb/if_uralvar.h#6 (text+ko) ====

@@ -87,8 +87,8 @@
 #define	URAL_VAP(vap)	((struct ural_vap *)(vap))
 
 struct ural_softc {
+	struct ieee80211com		sc_ic;		/* NB: must be first */
 	struct ifnet			*sc_ifp;
-	struct ieee80211com		sc_ic;
 	device_t			sc_dev;
 	usbd_device_handle		sc_udev;
 	usbd_interface_handle		sc_iface;

==== //depot/projects/vap/sys/dev/usb/if_zydreg.h#4 (text+ko) ====

@@ -1184,9 +1184,9 @@
 #define	ZYD_VAP(vap)	((struct zyd_vap *)(vap))
 
 struct zyd_softc {
+	struct ieee80211com		sc_ic;		/* NB: must be first */
 	device_t			sc_dev;
 	struct ifnet			*sc_ifp;
-	struct ieee80211com		sc_ic;
 	struct zyd_rf			sc_rf;
 
 	struct usb_task			sc_task;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200801160350.m0G3oIqB044831>