commit | a77d43f1e9d59791b138b9903c58b89fffb0df97 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Apr 13 02:40:42 2016 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Apr 13 18:15:23 2016 -0400 |
tree | d878967d148d62ceb9739bc4e5a9fdd63b363559 | |
parent | 5feebd0a8a799fe076c606b7c3bc267ae8c4344a [diff] |
net: dsa: Keep the mii bus and address in the private structure Rather than looking up the mii bus and address every time, do it once at probe, and keep it in the private structure. Centralise this probe code in mv88e6xxx. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Acked-by: Florian Fainelli <f.fainelli@gmail.com> Tested-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Signed-off-by: David S. Miller <davem@davemloft.net>