]> git.karo-electronics.de Git - karo-tx-linux.git/commit
bnx2x: Removing the PMF indication when unloading
authorEilon Greenstein <eilong@broadcom.com>
Tue, 4 Nov 2008 00:45:55 +0000 (16:45 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Thu, 20 Nov 2008 22:54:43 +0000 (14:54 -0800)
commit365ef014724ec99fa6aee6bad8b66f352e2ab711
treedad1b6636f7b69bf676c321ff137150471239a5a
parent96e1cb2535bff4fad43471d95fa2ae5d68fac673
bnx2x: Removing the PMF indication when unloading

commit 9a0354405feb0f8bd460349a93db05e4cca8d166 upstream.

When the PMF flag is set, the driver can access the HW freely. When the
driver is unloaded, it should not access the HW. The problem caused fatal
errors when "ethtool -i" was called after the calling instance was unloaded
and another instance was already loaded

Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Cc: Alex Chiang <achiang@hp.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/net/bnx2x_main.c