[PATCH] 3c59x: avoid blindly reading link status twice
commitd9e46de34e4212f472684b1561ba323aac54ea25
authorTommy Christensen <tommy.christensen@tpack.net>
Mon, 7 Nov 2005 08:58:04 +0000 (7 00:58 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Mon, 7 Nov 2005 15:53:25 +0000 (7 07:53 -0800)
treebf8392ea5f243cc5ddbd32c82dec144ba82d036b
parent106427e65d2b6f3a519ab5d14a3586007e7e0f20
[PATCH] 3c59x: avoid blindly reading link status twice

In order to spare some I/O operations, be more intelligent about when to
read from the PHY.

Pointed out by Bogdan Costescu.

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