diff options
Diffstat (limited to 'drivers/net/cxgb3/cxgb3_main.c')
-rw-r--r-- | drivers/net/cxgb3/cxgb3_main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/cxgb3/cxgb3_main.c b/drivers/net/cxgb3/cxgb3_main.c index 802c7a7c3b25..a087e0691dce 100644 --- a/drivers/net/cxgb3/cxgb3_main.c +++ b/drivers/net/cxgb3/cxgb3_main.c | |||
@@ -1757,7 +1757,7 @@ static int set_phys_id(struct net_device *dev, | |||
1757 | 1757 | ||
1758 | switch (state) { | 1758 | switch (state) { |
1759 | case ETHTOOL_ID_ACTIVE: | 1759 | case ETHTOOL_ID_ACTIVE: |
1760 | return -EINVAL; | 1760 | return 1; /* cycle on/off once per second */ |
1761 | 1761 | ||
1762 | case ETHTOOL_ID_OFF: | 1762 | case ETHTOOL_ID_OFF: |
1763 | t3_set_reg_field(adapter, A_T3DBG_GPIO_EN, F_GPIO0_OUT_VAL, 0); | 1763 | t3_set_reg_field(adapter, A_T3DBG_GPIO_EN, F_GPIO0_OUT_VAL, 0); |