commit | bc46a3d57cf7715d76eef8ea822c763cd271aacf | [log] [tgz] |
---|---|---|
author | Vivien Didelot <vivien.didelot@savoirfairelinux.com> | Mon Jun 20 13:14:08 2016 -0400 |
committer | David S. Miller <davem@davemloft.net> | Tue Jun 21 03:58:29 2016 -0400 |
tree | e9961a546b268cc000d81ebbe6cabb89c7fc7c0a | |
parent | 4a70c4ab4fa49c07cbec519dfb9f9f90d2fec8d5 [diff] |
net: dsa: mv88e6xxx: add detection helper Extract the common detection code which assigns the info structure to the chip given the read switch ID. Signed-off-by: Vivien Didelot <vivien.didelot@savoirfairelinux.com> Reviewed-by: Andrew Lunn <andrew@lunn.ch> Signed-off-by: David S. Miller <davem@davemloft.net>