]> git.hungrycats.org Git - linux/commit
bnx2x: Test nvram when interface is down
authorYuval Mintz <yuvalmin@broadcom.com>
Sat, 28 Sep 2013 05:46:07 +0000 (08:46 +0300)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 Aug 2014 12:12:20 +0000 (14:12 +0200)
commitf4ee0d62f2c63d5ef77fde1575aeef457e054902
tree48efea2cad5a2575f09b31d98398fcabc57c9d55
parent5f55b99739d4a2b339aab0e4f3ef9091f0c86b15
bnx2x: Test nvram when interface is down

commit bd8e012b5d369933f50842294372ed580f5d9605 upstream.

Since commit 3fb43eb ("bnx2x: Change to D3hot only on removal") nvram
is accessible whenever the driver is loaded - Thus it is possible to
test it during self-test even if the interface is down

Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Ariel Elior <ariele@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c