diff options
author | Anirban Chakraborty <anirban.chakraborty@qlogic.com> | 2011-07-14 07:16:55 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2011-07-14 19:49:44 +0400 |
commit | 40522998dec20d970fe6f0ea8507004aef18f72d (patch) | |
tree | 1d964ab4b68dea07eaee9f84d9a91d00300ed7b1 /drivers/net/qlcnic/qlcnic_ctx.c | |
parent | fef0c0600b265ea5d4b1e39574801e6509a1dae6 (diff) | |
download | linux-40522998dec20d970fe6f0ea8507004aef18f72d.tar.xz |
qlcnic: change capture mask for FW dump
o Change FW dump capture mask to a defult value, instead of using the recommended
value from the FW. This was done to keep the capture mask consistent with other
function drivers.
o Update driver version to 5.0.21
Signed-off-by: Anirban Chakraborty <anirban.chakraborty@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/qlcnic/qlcnic_ctx.c')
-rw-r--r-- | drivers/net/qlcnic/qlcnic_ctx.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/net/qlcnic/qlcnic_ctx.c b/drivers/net/qlcnic/qlcnic_ctx.c index 33f5c8a8b551..b0d32ddd2ccb 100644 --- a/drivers/net/qlcnic/qlcnic_ctx.c +++ b/drivers/net/qlcnic/qlcnic_ctx.c @@ -145,11 +145,7 @@ int qlcnic_fw_cmd_get_minidump_temp(struct qlcnic_adapter *adapter) *template++ = __le32_to_cpu(*tmp_buf++); tmpl_hdr = ahw->fw_dump.tmpl_hdr; - if (tmpl_hdr->cap_mask > QLCNIC_DUMP_MASK_DEF && - tmpl_hdr->cap_mask <= QLCNIC_DUMP_MASK_MAX) - tmpl_hdr->drv_cap_mask = tmpl_hdr->cap_mask; - else - tmpl_hdr->drv_cap_mask = QLCNIC_DUMP_MASK_DEF; + tmpl_hdr->drv_cap_mask = QLCNIC_DUMP_MASK_DEF; ahw->fw_dump.enable = 1; error: dma_free_coherent(&adapter->pdev->dev, temp_size, tmp_addr, tmp_addr_t); |