From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751322AbcFRUiI (ORCPT ); Sat, 18 Jun 2016 16:38:08 -0400 Received: from vps0.lunn.ch ([178.209.37.122]:51938 "EHLO vps0.lunn.ch" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751030AbcFRUiG (ORCPT ); Sat, 18 Jun 2016 16:38:06 -0400 Date: Sat, 18 Jun 2016 22:38:03 +0200 From: Andrew Lunn To: Vivien Didelot Cc: netdev@vger.kernel.org, linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Ben Dooks , Sergei Shtylyov Subject: Re: [PATCH v3 net-next v3 14/14] net: dsa: mv88e6xxx: add port base address to info Message-ID: <20160618203803.GI7172@lunn.ch> References: <20160618000736.5598-1-vivien.didelot@savoirfairelinux.com> <20160618000736.5598-15-vivien.didelot@savoirfairelinux.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20160618000736.5598-15-vivien.didelot@savoirfairelinux.com> User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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