qlcnic: fix ocm window register offset calculation
authorRajesh Borundia <rajesh.borundia@qlogic.com>
Thu, 16 Dec 2010 22:59:01 +0000 (22:59 +0000)
committerDavid S. Miller <davem@davemloft.net>
Fri, 17 Dec 2010 19:39:01 +0000 (11:39 -0800)
commitb5006dcb10a4b19e86f413b46787c55bd0d1277b
treef1bfdfce262611db1d9f8568a5758b37405b7e61
parentc75822a3091a899d982d59cd2b4454fe7c3e0318
qlcnic: fix ocm window register offset calculation

OCM window register offset was calculated incorrectly for
pci function greater than zero.

Signed-off-by: Rajesh Borundia <rajesh.borundia@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_hdr.h