aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/net/pcnet32.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/net/pcnet32.c')
-rw-r--r--drivers/net/pcnet32.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/net/pcnet32.c b/drivers/net/pcnet32.c
index e89afb929740..0a1efbae1bc0 100644
--- a/drivers/net/pcnet32.c
+++ b/drivers/net/pcnet32.c
@@ -1038,7 +1038,7 @@ static int pcnet32_set_phys_id(struct net_device *dev,
1038 for (i = 4; i < 8; i++) 1038 for (i = 4; i < 8; i++)
1039 lp->save_regs[i - 4] = a->read_bcr(ioaddr, i); 1039 lp->save_regs[i - 4] = a->read_bcr(ioaddr, i);
1040 spin_unlock_irqrestore(&lp->lock, flags); 1040 spin_unlock_irqrestore(&lp->lock, flags);
1041 return -EINVAL; 1041 return 2; /* cycle on/off twice per second */
1042 1042
1043 case ETHTOOL_ID_ON: 1043 case ETHTOOL_ID_ON:
1044 case ETHTOOL_ID_OFF: 1044 case ETHTOOL_ID_OFF: