ethtool: allow custom interval for physical identification
[linux-2.6-block.git] / drivers / net / pcnet32.c
index e89afb929740b2b0c287a8fb1951d54ef875ec44..0a1efbae1bc0577c9774d3fe577d46ad3244e5cb 100644 (file)
@@ -1038,7 +1038,7 @@ static int pcnet32_set_phys_id(struct net_device *dev,
                for (i = 4; i < 8; i++)
                        lp->save_regs[i - 4] = a->read_bcr(ioaddr, i);
                spin_unlock_irqrestore(&lp->lock, flags);
-               return -EINVAL;
+               return 2;       /* cycle on/off twice per second */
 
        case ETHTOOL_ID_ON:
        case ETHTOOL_ID_OFF: