diff options
author | Petri Gynther <pgynther@google.com> | 2014-10-03 23:25:01 +0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2014-10-06 08:18:09 +0400 |
commit | 5ad6e6c50899621030a9b10ddcb2fcd349cb5965 (patch) | |
tree | 0353820141d9c811eb203c48ec44619b74a5c052 /drivers/ide/ide-disk_proc.c | |
parent | f13909cdab3ad0fda7be8c42f0930fbf7200ffa4 (diff) | |
download | linux-5ad6e6c50899621030a9b10ddcb2fcd349cb5965.tar.xz |
net: bcmgenet: improve bcmgenet_mii_setup()
bcmgenet_mii_setup() is called from the PHY state machine every 1-2 seconds
when the PHYs are in PHY_POLL mode.
Improve bcmgenet_mii_setup() so that it touches the MAC registers only when
the link is up and there was a change to link, speed, duplex, or pause status.
Signed-off-by: Petri Gynther <pgynther@google.com>
Tested-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/ide/ide-disk_proc.c')
0 files changed, 0 insertions, 0 deletions