Date: Mon, 25 May 2015 15:08:38 +0000 (UTC) From: Gleb Smirnoff <glebius@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r283531 - head/sys/net80211 Message-ID: <201505251508.t4PF8cBV079579@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: glebius Date: Mon May 25 15:08:38 2015 New Revision: 283531 URL: https://svnweb.freebsd.org/changeset/base/283531 Log: Add void * member to struct ieee80211com, so that drivers can obtain their softc without going through the struct ifnet. Sponsored by: Netflix Sponsored by: Nginx, Inc. Modified: head/sys/net80211/ieee80211_var.h Modified: head/sys/net80211/ieee80211_var.h ============================================================================== --- head/sys/net80211/ieee80211_var.h Mon May 25 14:54:10 2015 (r283530) +++ head/sys/net80211/ieee80211_var.h Mon May 25 15:08:38 2015 (r283531) @@ -117,6 +117,7 @@ struct ieee80211_frame; struct ieee80211com { struct ifnet *ic_ifp; /* associated device */ + void *ic_softc; /* driver softc */ const char *ic_name; /* usually device name */ ieee80211_com_lock_t ic_comlock; /* state update lock */ ieee80211_tx_lock_t ic_txlock; /* ic/vap TX lock */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201505251508.t4PF8cBV079579>