qlcnic: Fix invalid register offset calculation
authorShahed Shaikh <shahed.shaikh@qlogic.com>
Fri, 19 Jul 2013 20:56:26 +0000 (16:56 -0400)
committerDavid S. Miller <davem@davemloft.net>
Sat, 20 Jul 2013 00:08:15 +0000 (17:08 -0700)
commit2deb535af7c824f37d6bc8657fd09e3d10696ee8
tree1180693c20995873a641e0ebd5507f0af694229c
parent3fc2de2faba387218bdf9dbc6b13f513ac3b060a
qlcnic: Fix invalid register offset calculation

83xx adapter specific code was accessing 82xx register which
resulted in invalid register offset. This patch uses proper
register access method.

Signed-off-by: Shahed Shaikh <shahed.shaikh@qlogic.com>
Signed-off-by: Jitendra Kalsaria <jitendra.kalsaria@qlogic.com>
Signed-off-by: Sucheta Chakraborty <sucheta.chakraborty@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/qlogic/qlcnic/qlcnic_ethtool.c