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)
commit3bfafd6b136bea2de9bd96c01b7e3808635a15b2
tree6fd176a779975662742df9f5227263c9bf596e78
parenta58c891a53aca81c78f9cbe0572a301042470e96
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