]> git.baikalelectronics.ru Git - kernel.git/commit
netxen: avoid invalid iounmap
authorDhananjay Phadke <dhananjay@netxen.com>
Fri, 16 Jan 2009 19:03:01 +0000 (11:03 -0800)
committerDavid S. Miller <davem@davemloft.net>
Fri, 16 Jan 2009 19:03:01 +0000 (11:03 -0800)
commit2584e21793e38184502c015cdd14e36ae830930e
tree6fd176a779975662742df9f5227263c9bf596e78
parentf153a8e8832dc3cd0e192b00c74c6c580cc989a8
netxen: avoid invalid iounmap

For NX3031 only one I/O range is mapped, so unmapping other
two which are used by older chips, causes this warning on
ppc64.

"Attempt to iounmap early bolted mapping at 0x0000000000000000"

Signed-off-by: Dhananjay Phadke <dhananjay@netxen.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/netxen/netxen_nic_main.c