commit | a8f064c602cf0170d41274e173a26151d7520dbe | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Thu Mar 26 18:36:40 2015 -0700 |
committer | David S. Miller <davem@davemloft.net> | Sun Mar 29 13:23:55 2015 -0700 |
tree | 442ac04394feddbab1b7624639a97819da61ef7e | |
parent | 4f431e56625761b1d81a4a6544fda92c02bed917 [diff] |
net: dsa: Centralise getting switch id Get the switch id and save it away in the private mv88x6xxx structure in a centralised piece of code, rather than each driver doing it itself. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: David S. Miller <davem@davemloft.net>