]> git.baikalelectronics.ru Git - kernel.git/commit
qlcnic: fix register access
authorAmit Kumar Salecha <amit.salecha@qlogic.com>
Thu, 17 Jun 2010 02:56:42 +0000 (02:56 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 17 Jun 2010 15:57:56 +0000 (08:57 -0700)
commit4b32a8e5a1c890cdad2aa753872359a13d7ff207
treee6952f6be349196f1bf7e1abe63bf49f74420d6e
parent1ca13283956fe52528f5619e4ef8ecf943e7dc3a
qlcnic: fix register access

For certain set of register, base window addresses are not defined.
In such cases window should not set.
Return with error for such cases to avoid NMI.

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