]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: fix onchip memory access
authorDhananjay Phadke <dhananjay.phadke@qlogic.com>
Thu, 1 Apr 2010 19:01:31 +0000 (19:01 +0000)
committerDavid S. Miller <davem@davemloft.net>
Sat, 3 Apr 2010 21:19:14 +0000 (14:19 -0700)
commit6d89441d64e3c49753957a9bdefa19a520fa5caf
tree4c821047521aa1c53a9a9a873562ce357810a1e1
parentaa1779bc0e83a364a01a231f86d89367018474a2
qlcnic: fix onchip memory access

Fix incorrect offset calculation and remove unnecessary remap
of the region in bar 0 to access onchip memory.

This was leading to read incorrect values by debug tools.

Signed-off-by: Dhananjay Phadke <dhananjay.phadke@qlogic.com>
Signed-off-by: Amit Kumar Salecha <amit.salecha@qlogic.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/qlcnic/qlcnic_hw.c