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

From: Andrew Lunn
Date: Sat Jun 18 2016 - 16:28:51 EST


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 MDIO probe, get it from the device node data. For the
> legacy DSA driver probing, pass it the 88E6085 info.
>
> Signed-off-by: Vivien Didelot <vivien.didelot@xxxxxxxxxxxxxxxxxxxx>

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew