aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/82596.c
diff options
context:
space:
mode:
authorInaky Perez-Gonzalez <inaky@linux.intel.com>2009-09-14 14:10:16 -0700
committerInaky Perez-Gonzalez <inaky@linux.intel.com>2009-10-19 15:56:02 +0900
commit7b43ca708a767a5f68eeeb732c569c0f11a7d6f7 (patch)
tree8811c30691a5e4355c56e9b52a7f8fb9fe9108fb /drivers/net/82596.c
parent3ef6129e57b04c116b1907b72c7a20720e6dde75 (diff)
downloadkernel_goldelico_gta04-7b43ca708a767a5f68eeeb732c569c0f11a7d6f7.zip
kernel_goldelico_gta04-7b43ca708a767a5f68eeeb732c569c0f11a7d6f7.tar.gz
kernel_goldelico_gta04-7b43ca708a767a5f68eeeb732c569c0f11a7d6f7.tar.bz2
wimax/i2400m: cache firmware on system suspend
In preparation for a reset_resume implementation, have the firmware image be cached in memory when the system goes to suspend and released when out. This is needed in case the device resets during suspend; the driver can't load firmware until resume is completed or bad deadlocks happen. The modus operandi for this was copied from the Orinoco USB driver. The caching is done with a kobject to avoid race conditions when releasing it. The fw loader path is altered only to first check for a cached image before trying to load from disk. A Power Management event notifier is register to call i2400m_fw_cache() or i2400m_fw_uncache() which take care of the actual cache management. Signed-off-by: Inaky Perez-Gonzalez <inaky@linux.intel.com>
Diffstat (limited to 'drivers/net/82596.c')
0 files changed, 0 insertions, 0 deletions