]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/net/skge.c
ethtool: allow custom interval for physical identification
[mirror_ubuntu-artful-kernel.git] / drivers / net / skge.c
index 310dcbce2519349e975ee70703734e0cc52fecd9..176d784cbb542bdf5a64d3dad1f9195cf3c07659 100644 (file)
@@ -753,7 +753,7 @@ static int skge_set_phys_id(struct net_device *dev,
 
        switch (state) {
        case ETHTOOL_ID_ACTIVE:
-               return -EINVAL;
+               return 2;       /* cycle on/off twice per second */
 
        case ETHTOOL_ID_ON:
                skge_led(skge, LED_MODE_TST);