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)
commit4de57826810fd2cfeb2ab5c7d003ff9116b8f7ee
treee6952f6be349196f1bf7e1abe63bf49f74420d6e
parentef71ff833acfd3795c3af1bb800ac186561508ef
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