]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitcde3fc64c5c48b879226bf921f44a69a9ead1751
tree9396794ba9af5c37b18911d79694762ff9ce6b26
parent0182de760b7a45c8c0197d5501b178554598858e
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