diff options
author | Anton Vorontsov <avorontsov@ru.mvista.com> | 2009-12-24 05:31:20 +0000 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2009-12-26 20:24:43 -0800 |
commit | 08fafd8461c0ca8d1b389b7dc11d17e7b2331282 (patch) | |
tree | 60e2a5850c087bcc47301b1fc37adcb1a570e121 /drivers/net/tun.c | |
parent | 08b5e1c91ce95793c59a59529a362a1bcc81faae (diff) | |
download | talos-obmc-linux-08fafd8461c0ca8d1b389b7dc11d17e7b2331282.tar.gz talos-obmc-linux-08fafd8461c0ca8d1b389b7dc11d17e7b2331282.zip |
ucc_geth: Don't needlessly change MAC settings in adjust_link()
If PHY doesn't have an IRQ, phylib would poll for link changes, and
would call adjust_link() every second. In that case we disable and
enable the controller every second.
Let's better check if there is actually anything changed, and, if so,
change the MAC settings.
Signed-off-by: Anton Vorontsov <avorontsov@ru.mvista.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/tun.c')
0 files changed, 0 insertions, 0 deletions