freebsd11_wlan: Disable sysinits.

These are currently no-ops; but soon enough they won't be...
This commit is contained in:
Augustin Cavalier 2018-12-29 20:33:05 -05:00
parent 92d70a24ca
commit 88c3c4fa49
6 changed files with 104 additions and 92 deletions

View File

@ -261,7 +261,9 @@ ic_printf(struct ieee80211com *ic, const char * fmt, ...)
static LIST_HEAD(, ieee80211com) ic_head = LIST_HEAD_INITIALIZER(ic_head);
struct mtx ic_list_mtx;
#if 0
MTX_SYSINIT(ic_list, &ic_list_mtx, "ieee80211com list", MTX_DEF);
#endif
static int
sysctl_ieee80211coms(SYSCTL_HANDLER_ARGS)

View File

@ -203,7 +203,9 @@ ieee80211_ht_init(void)
ieee80211_send_action_register(IEEE80211_ACTION_CAT_HT,
IEEE80211_ACTION_HT_TXCHWIDTH, ht_send_action_ht_txchwidth);
}
#if 0
SYSINIT(wlan_ht, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_ht_init, NULL);
#endif
static int ieee80211_ampdu_enable(struct ieee80211_node *ni,
struct ieee80211_tx_ampdu *tap);

View File

@ -245,7 +245,9 @@ ieee80211_hwmp_init(void)
*/
ieee80211_mesh_register_proto_path(&mesh_proto_hwmp);
}
#if 0
SYSINIT(wlan_hwmp, SI_SUB_DRIVERS, SI_ORDER_SECOND, ieee80211_hwmp_init, NULL);
#endif
static void
hwmp_vattach(struct ieee80211vap *vap)

View File

@ -600,7 +600,9 @@ ieee80211_mesh_init(void)
ieee80211_mesh_register_proto_metric(&mesh_metric_airtime);
}
#if 0
SYSINIT(wlan_mesh, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_mesh_init, NULL);
#endif
void
ieee80211_mesh_attach(struct ieee80211com *ic)

View File

@ -367,7 +367,9 @@ ieee80211_phy_init(void)
ieee80211_setup_ratetable(ratetables[i]);
}
#if 0
SYSINIT(wlan_phy, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_phy_init, NULL);
#endif
const struct ieee80211_rate_table *
ieee80211_get_ratetable(struct ieee80211_channel *c)

View File

@ -454,7 +454,9 @@ ieee80211_auth_setup(void)
ieee80211_authenticator_register(IEEE80211_AUTH_SHARED, &auth_internal);
ieee80211_authenticator_register(IEEE80211_AUTH_AUTO, &auth_internal);
}
#if 0
SYSINIT(wlan_auth, SI_SUB_DRIVERS, SI_ORDER_FIRST, ieee80211_auth_setup, NULL);
#endif
const struct ieee80211_authenticator *
ieee80211_authenticator_get(int auth)