diff options
author | Mike Frysinger <vapier@gentoo.org> | 2010-07-27 22:35:10 (GMT) |
---|---|---|
committer | Ben Warren <biggerbadderben@gmail.com> | 2010-08-09 18:52:30 (GMT) |
commit | ede16ea32da7a37f892bf63dcb43c16118ba39d6 (patch) | |
tree | c3bf1533645b7f30824e8d2649f3ee46ad0dff6a /drivers/net/at91_emac.c | |
parent | 0daac97801fa5989d3740487aa824fbab9ff0503 (diff) | |
download | u-boot-ede16ea32da7a37f892bf63dcb43c16118ba39d6.tar.xz |
miiphy: leverage current_mii cache more
For code that uses miiphy_{read,write}, every call invokes a full look up
of the mii list. There is already a "current_mii" cache that is used by
some code, but have the miiphy_{read,write} function use it as well. This
does increase the code size slightly, but I think it's worth it.
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Signed-off-by: Ben Warren <biggerbadderben@gmail.com>
Diffstat (limited to 'drivers/net/at91_emac.c')
0 files changed, 0 insertions, 0 deletions