summaryrefslogtreecommitdiffstats
path: root/drivers/net/benet/be_main.c
diff options
context:
space:
mode:
authorDavid Graham <david.graham@intel.com>2009-10-28 04:13:57 -0700
committerDavid S. Miller <davem@davemloft.net>2009-10-28 04:13:57 -0700
commit7e15b0c9991dfe0bf05a2f8fab9154bb7827622e (patch)
tree113ef96d0785c6da9dbbc40473a7664553604088 /drivers/net/benet/be_main.c
parentc70948105d4f057b90d4a587246565782e51ed35 (diff)
e100: Fix to allow systems with FW based cards to resume from STD
Devices with loadable firmware must have their firmware reloaded after the system resumes from sleep, but the request_firmare() API is not available at this point in the resume flow because tasks are not yet running, and the system will hang if it is called. Work around this issue by only calling request_firmware() for a device's first firmware load, and cache a copy of the pointer to the firmware blob for that device, so that we may reload firmware images even during resume. Signed-off-by: David Graham <david.graham@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/benet/be_main.c')
0 files changed, 0 insertions, 0 deletions