diff options
author | Yaniv Rosner <yanivr@broadcom.com> | 2013-05-22 23:21:52 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2013-05-24 03:49:30 +0200 |
commit | 84b6f7456e8b88507dd85f988a9d350eb5af0e46 (patch) | |
tree | 5105e8e6036e812eb184a0411227818663636d62 /drivers/net/ethernet/broadcom | |
parent | bnx2x: Wait for MCP validity during AER (diff) | |
download | linux-84b6f7456e8b88507dd85f988a9d350eb5af0e46.tar.xz linux-84b6f7456e8b88507dd85f988a9d350eb5af0e46.zip |
bnx2x: Enable `set_phys_id' for all functions
In Multi-function mode, all functions should be able to utilize said function;
There's no reason why only the link owner should be able to do so.
Signed-off-by: Yaniv Rosner <yanivr@broadcom.com>
Signed-off-by: Yuval Mintz <yuvalmin@broadcom.com>
Signed-off-by: Eilon Greenstein <eilong@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/ethernet/broadcom')
-rw-r--r-- | drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c index 9e311c4b69f3..32aa88f520dc 100644 --- a/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c +++ b/drivers/net/ethernet/broadcom/bnx2x/bnx2x_ethtool.c @@ -3146,11 +3146,6 @@ static int bnx2x_set_phys_id(struct net_device *dev, return -EAGAIN; } - if (!bp->port.pmf) { - DP(BNX2X_MSG_ETHTOOL, "Interface is not pmf\n"); - return -EOPNOTSUPP; - } - switch (state) { case ETHTOOL_ID_ACTIVE: return 1; /* cycle on/off once per second */ |