Re: [PATCH v3 net-next v3 12/14] net: dsa: mv88e6xxx: pass compatible info

2016-06-18 Thread Andrew Lunn
On Fri, Jun 17, 2016 at 08:07:34PM -0400, Vivien Didelot wrote: > After allocating the chip structure, pass it a compatible info pointer. > > The compatible info structure will be used later to describe how to > access the switch registers and where to read the switch ID. > > For the standard MDI

[PATCH v3 net-next v3 12/14] net: dsa: mv88e6xxx: pass compatible info

2016-06-17 Thread Vivien Didelot
After allocating the chip structure, pass it a compatible info pointer. The compatible info structure will be used later to describe how to access the switch registers and where to read the switch ID. For the standard MDIO probe, get it from the device node data. For the legacy DSA driver probing