Re: [PATCH v3 net-next v3 14/14] net: dsa: mv88e6xxx: add port base address to info

From: Andrew Lunn
Date: Sat Jun 18 2016 - 16:38:12 EST


On Fri, Jun 17, 2016 at 08:07:36PM -0400, Vivien Didelot wrote:
> The switch ID is located at address 0x3 of every Port Registers bank.
>
> But not all Marvell switches have their Port Registers SMI Addresses
> starting at 0x10. 88E6060 starts at 0x8 and 88E6390 starts at 0x0.
>
> Add this data in the info structure and use it in the detection code.

Reviewed-by: Andrew Lunn <andrew@xxxxxxx>

Andrew