Re: [PATCH v2 net-next v2 10/12] net: dsa: mv88e6xxx: iterate on compatible info

2016-06-14 Thread Vivien Didelot
Hi Andrew, Andrew Lunn writes: > On Tue, Jun 14, 2016 at 02:31:51PM -0400, Vivien Didelot wrote: >> With legacy probing, we cannot have a compatible info structure. We have >> to guess it. Instead of using only the first info structure of the info >> table, iterate over the compatible data. >>

Re: [PATCH v2 net-next v2 10/12] net: dsa: mv88e6xxx: iterate on compatible info

2016-06-14 Thread Andrew Lunn
On Tue, Jun 14, 2016 at 02:31:51PM -0400, Vivien Didelot wrote: > With legacy probing, we cannot have a compatible info structure. We have > to guess it. Instead of using only the first info structure of the info > table, iterate over the compatible data. > > That way, the legacy code will support

Re: [PATCH v2 net-next v2 10/12] net: dsa: mv88e6xxx: iterate on compatible info

2016-06-14 Thread Sergei Shtylyov
On 06/14/2016 09:31 PM, Vivien Didelot wrote: With legacy probing, we cannot have a compatible info structure. We have to guess it. Instead of using only the first info structure of the info table, iterate over the compatible data. That way, the legacy code will support new compatible chips wit

[PATCH v2 net-next v2 10/12] net: dsa: mv88e6xxx: iterate on compatible info

2016-06-14 Thread Vivien Didelot
With legacy probing, we cannot have a compatible info structure. We have to guess it. Instead of using only the first info structure of the info table, iterate over the compatible data. That way, the legacy code will support new compatible chips with different register access without requiring any