]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: Do not read QLCNIC_FW_CAPABILITY_MORE_CAPS bit for 83xx adapter
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 25 Oct 2013 14:38:37 +0000 (10:38 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 26 Oct 2013 04:04:49 +0000 (00:04 -0400)
commitdf3a5232d791ea76410bee4ac25f64831d7b8570
tree18769c24f318e7981bbf13759a4a9cfa9c2fc0cb
parent0edb4e25748d1220b62b0fd6a979a7c821a8a083
qlcnic: Do not read QLCNIC_FW_CAPABILITY_MORE_CAPS bit for 83xx adapter

Only 82xx adapter advertises QLCNIC_FW_CAPABILITY_MORE_CAPS bit.
Reading this bit from 83xx adapter causes the driver to skip
extra capabilities registers.

Because of this, driver was not issuing qlcnic_fw_cmd_set_drv_version()
for 83xx adapter.

This bug was introduced in commit 98b536145b5c097a38c9187cfe756c2ec5167ed6
 ("qlcnic: Add support for 'set driver version' in 83XX").

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_83xx_hw.c
drivers/net/ethernet/qlogic/qlcnic/qlcnic_main.c