]> git.baikalelectronics.ru Git - kernel.git/commit
Revert "bnx2x: allow nvram test to run when device is down"
authorDmitry Kravkov <dmitry@broadcom.com>
Tue, 30 Apr 2013 10:24:42 +0000 (10:24 +0000)
committerDavid S. Miller <davem@davemloft.net>
Tue, 30 Apr 2013 23:00:25 +0000 (19:00 -0400)
commit18e374f19bf38dfb1b4373cfd355dd83c27675ab
tree018f19745943cca27c18a6e0fd1847a39ec8ed3f
parent4f0b0986d20e42d9789d4f927f51e8ce66cae62c
Revert "bnx2x: allow nvram test to run when device is down"

This reverts commit 166f72c0064aee70de5d3e0299e6a1458f437bd1
("bnx2x: allow nvram test to run when device is down").

Since it makes access to the device in D3 state possible.
More work is required to make sure device is not set to D3
during ifdown. Until this is done the nvram-test should simply
exit if device is down like it did before.

Signed-off-by: Dmitry Kravkov <dmitry@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c