Re: [PATCH net-next 3/7] net: dsa: mv88e6xxx: add switch info

2016-04-15 Thread Andrew Lunn
On Fri, Apr 15, 2016 at 02:25:46PM -0400, Vivien Didelot wrote: > Add a new switch info structure which will be later extended to store > switch models static information, such as product number, name, number > of ports, number of databases, etc. > > Merge the lookup function in the probing code,

[PATCH net-next 3/7] net: dsa: mv88e6xxx: add switch info

2016-04-15 Thread Vivien Didelot
Add a new switch info structure which will be later extended to store switch models static information, such as product number, name, number of ports, number of databases, etc. Merge the lookup function in the probing code, so that we avoid multiple checking of the MII bus, as well a multiple ID r