bnx2x: Test nvram when interface is down
authorYuval Mintz <yuvalmin@broadcom.com>
Sat, 28 Sep 2013 05:46:07 +0000 (08:46 +0300)
committerDavid S. Miller <davem@davemloft.net>
Sat, 28 Sep 2013 22:23:58 +0000 (15:23 -0700)
commitbd8e012b5d369933f50842294372ed580f5d9605
treeb4758e15d9dc09e26a929cf80888295008d60a45
parentaa6615814533c634190019ee3a5b10490026d545
bnx2x: Test nvram when interface is down

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>
drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c