freebsd-dev/sys/dev/iwm
Kyle Evans 544b40d85e if_iwm - Move iwm_read_firmware() call into iwm_attach().
* We should load the firmware exactly once before the driver really
initializes the hardware the first time, and unload it at detach time.
There is no need to retrieve the firmware during execution of
iwm_mvm_load_ucode_wait_alive(), we should make sure we already have the
firmware data at hand before that.

* The existing sc_preinit_hook code fails to deal with the case where
if_iwm is loaded by the loader (or is statically linked) and the
firmware needs to be loaded from disk. So we can just call
iwm_read_firmware() from iwm_attach() directly.

* A separate solution will have to be added to properly defer the firmware
loading during bootup, until the necessary filesystem is mounted.

Submitted by:	Augustin Cavalier <waddlesplash@gmail.com> (Haiku)
Obtained from:	DragonFlyBSD (0104ee1f4cb6a2313c00c2526c6ae98d42e5041d)
2019-01-24 03:42:23 +00:00
..
if_iwm_7000.c
if_iwm_8000.c
if_iwm_binding.c
if_iwm_binding.h
if_iwm_config.h
if_iwm_constants.h
if_iwm_debug.h
if_iwm_fw.c
if_iwm_fw.h
if_iwm_led.c
if_iwm_led.h
if_iwm_mac_ctxt.c
if_iwm_mac_ctxt.h
if_iwm_notif_wait.c
if_iwm_notif_wait.h
if_iwm_pcie_trans.c
if_iwm_pcie_trans.h
if_iwm_phy_ctxt.c
if_iwm_phy_ctxt.h
if_iwm_phy_db.c
if_iwm_phy_db.h
if_iwm_power.c
if_iwm_power.h
if_iwm_scan.c
if_iwm_scan.h
if_iwm_sf.c
if_iwm_sf.h
if_iwm_sta.c
if_iwm_sta.h
if_iwm_time_event.c
if_iwm_time_event.h
if_iwm_util.c
if_iwm_util.h
if_iwm.c if_iwm - Move iwm_read_firmware() call into iwm_attach(). 2019-01-24 03:42:23 +00:00
if_iwmreg.h
if_iwmvar.h if_iwm - Move iwm_read_firmware() call into iwm_attach(). 2019-01-24 03:42:23 +00:00