From 5ad6e6c50899621030a9b10ddcb2fcd349cb5965 Mon Sep 17 00:00:00 2001 From: Petri Gynther Date: Fri, 3 Oct 2014 12:25:01 -0700 Subject: [PATCH] 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 Tested-by: Florian Fainelli Acked-by: Florian Fainelli Signed-off-by: David S. Miller --- Reading git-format-patch failed