netxen : fix debug tools access for NX2031
authorNarender Kumar <narender.kumar@qlogic.com>
Wed, 2 Dec 2009 15:46:18 +0000 (15:46 +0000)
committerDavid S. Miller <davem@davemloft.net>
Thu, 3 Dec 2009 03:57:18 +0000 (19:57 -0800)
commitf58dbd7320e148b25cc0088ef37f524c99c6790f
tree9396794ba9af5c37b18911d79694762ff9ce6b26
parent0be8401051c716be4533272e983b7eed3d83946d
netxen : fix debug tools access for NX2031

Driver maps only some part of the MMIO bar 0 in case of
NX2031. This is sufficient for tx and rx by the driver.
When debug tools need to access resources in
unmapped regions, driver needs to map these on the fly
in order to complete read/write request.

Signed-off-by: Narender Kumar <narender.kumar@qlogic.com>
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/netxen/netxen_nic_hw.c