]> git.baikalelectronics.ru Git - kernel.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)
committerDavid S. Miller <davem@davemloft.net>
Tue, 4 Nov 2008 00:45:55 +0000 (16:45 -0800)
commitc689dee633eee98625323d74eb2790faf7663128
tree497d96cc2f7c8c9e0d6b0d6bdc65a79c4200bcab
parentcae2ce08e0445e8c3c1475c877647c2408739ca8
bnx2x: Removing the PMF indication when unloading

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>
drivers/net/bnx2x_main.c