projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8d1274
)
[PATCH] 3c59x: read current link status from phy
author
Tommy S. Christensen
<tommy.christensen@tpack.net>
Tue, 6 Sep 2005 22:17:28 +0000
(15:17 -0700)
committer
Linus Torvalds
<torvalds@g5.osdl.org>
Wed, 7 Sep 2005 23:57:30 +0000
(16:57 -0700)
The phy status register must be read twice in order to get the actual link
state.
Signed-off-by: Tommy S. Christensen <tommy.christensen@tpack.net>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/net/3c59x.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/net/3c59x.c
b/drivers/net/3c59x.c
index de0dc4ab6e549db5c7f0e44783d8225b6688158b..455ba915ede738adc53f533f1b0a672cb07228d9 100644
(file)
--- a/
drivers/net/3c59x.c
+++ b/
drivers/net/3c59x.c
@@
-1889,6
+1889,7
@@
vortex_timer(unsigned long data)
{
spin_lock_bh(&vp->lock);
mii_status = mdio_read(dev, vp->phys[0], 1);
+ mii_status = mdio_read(dev, vp->phys[0], 1);
ok = 1;
if (vortex_debug > 2)
printk(KERN_DEBUG "%s: MII transceiver has status %4.4x.\n",