summaryrefslogtreecommitdiffstats
path: root/arch/sparc/net/bpf_jit_comp.c
diff options
context:
space:
mode:
authorVipul Pandya2012-09-26 04:39:42 +0200
committerDavid S. Miller2012-09-27 23:55:51 +0200
commit26f7cbc0a5a42d8cc0c7725d10317089a8215f97 (patch)
treeea8498d1b103a49406e535bf14c0458a0f10fb81 /arch/sparc/net/bpf_jit_comp.c
parentcxgb4: Inform caller if driver didn't upgrade firmware (diff)
downloadkernel-qcow2-linux-26f7cbc0a5a42d8cc0c7725d10317089a8215f97.tar.gz
kernel-qcow2-linux-26f7cbc0a5a42d8cc0c7725d10317089a8215f97.tar.xz
kernel-qcow2-linux-26f7cbc0a5a42d8cc0c7725d10317089a8215f97.zip
cxgb4: Don't attempt to upgrade T4 firmware when cxgb4 will end up as a slave
This patch adds a new common code routine to upgrade an adapter's firmware. This routine handles all of the complexities of working with the the existing adapter firmware in order to quiesce the adapter and uP, etc. For an automatic upgrade it will send a HELLO command to check if cxgb4 want/can upgrade firmware, i.e. if cxgb4 is MASTER and has newer firmware that it wants to load and call the new common code routine t4_fw_upgrade. Note that it should not issue a RESET command after a successful firmware upgrade. Signed-off-by: Jay Hernandez <jay@chelsio.com> Signed-off-by: Vipul Pandya <vipul@chelsio.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/net/bpf_jit_comp.c')
0 files changed, 0 insertions, 0 deletions