projects
/
linux-2.6-block.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethtool: allow custom interval for physical identification
[linux-2.6-block.git]
/
drivers
/
net
/
pcnet32.c
diff --git
a/drivers/net/pcnet32.c
b/drivers/net/pcnet32.c
index e89afb929740b2b0c287a8fb1951d54ef875ec44..0a1efbae1bc0577c9774d3fe577d46ad3244e5cb 100644
(file)
--- a/
drivers/net/pcnet32.c
+++ b/
drivers/net/pcnet32.c
@@
-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: