Received: by 2002:a25:ab43:0:0:0:0:0 with SMTP id u61csp775566ybi; Fri, 24 May 2019 11:13:47 -0700 (PDT) X-Google-Smtp-Source: APXvYqzzAbtaRfb/VHLuzi+nzBdKLiajvIGVbqI2t9Walr8lkGHMYM0wnXA10ZmkdDEXqvZyApGl X-Received: by 2002:a63:ce04:: with SMTP id y4mr1941551pgf.66.1558721627748; Fri, 24 May 2019 11:13:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1558721627; cv=none; d=google.com; s=arc-20160816; b=VeA+Ath1vpMQUm9oP65ol4iSUfFTpfDFoB4S5EZv0O/uESwP8RF6bJ2R9qW2zFmi0e 1CR9tzy2eg5tmiieoBOS9x7iK1ZrqcqDkQCb/N2pUVGiQDwegrD36Jbk9d6p/f9jl3If WNJAN2bv46Knacsjfyc6kZFav29x2/UycRB6nbNszCOEigsVTtSRvE2Xh7PgVEwYyozf IPsoFlnOvdPSqEXye73aIEvF++UQuL9QEnKbmXDa1tIsb0Aq4bmlfGtveYNVUUyeO8Y1 P58Rpzysy89L39nArRo1Uke5TF+lSRSb74vyj0VMPxRanOGk/0P02O0KVpDvWqEUMIek CgIA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-disposition:mime-version:references:in-reply-to:subject:cc :to:from:message-id:date:dkim-signature; bh=iAFRPFMunlzUCCZlbxNxP+5zGwWif9fr85Jlczqr9bo=; b=WFOLBJWS+nvsrYloIKPAHUAWoONO2GYkZZSVqC23u7okyfL2RiexPAM2PIRJYsnauR ncpzvPPorKooUCNc3c+wrx5/IPMb+Kc4Spiau8EIlfzrQqZAxoirKewYxt5MXoGltF9X WY5+gsbmyRMGf04TdkxixUVS3HtPXpDBc0yaDm9Ro3+sughBMxLczoSjimAs4q61rHqJ RP1V/ZclL29DGRHlcLOWZ4TgilH9TzxUdaydbFRgReTzSAdFmW32IDfCuqVyTYYiBkqV 4c0FV09jaxTnNCxWYFX2KcGgXFKTzhjzb74XKyGNjtCPvwI6/9xAmKcNXhmpujZHpsa1 rmaA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="G/X20wG2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id f33si5722324plf.166.2019.05.24.11.13.32; Fri, 24 May 2019 11:13:47 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="G/X20wG2"; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2391113AbfEXSLW (ORCPT + 99 others); Fri, 24 May 2019 14:11:22 -0400 Received: from mail-ua1-f65.google.com ([209.85.222.65]:33331 "EHLO mail-ua1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726909AbfEXSLW (ORCPT ); Fri, 24 May 2019 14:11:22 -0400 Received: by mail-ua1-f65.google.com with SMTP id 49so3960657uas.0; Fri, 24 May 2019 11:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:from:to:cc:subject:in-reply-to:references :mime-version:content-disposition:content-transfer-encoding; bh=iAFRPFMunlzUCCZlbxNxP+5zGwWif9fr85Jlczqr9bo=; b=G/X20wG2zPAIppUZ6iP2rEzuz0Vy7uf04fNIXB8mGaLE82RaOihtFtZz+A6EjOm9bt f/x5Uk+28I4YyVFwYOZdE0Y+xnM8RBoFckNCFp0tv9SNAGPep8kYeg+Sq+Ouh54tTYaL N8mdlNT2hO09TtoIPvEoQS15ZTvHiCd+4CSNJd088jGG46aLClGeG9gqHxRis9nz8e3i hke8xuHYwdWDEpQZ5surw1DeGjHi4pSecxoZVq7xYEvMm+3CpNZt4qUK19sKScWMKAaN uHvM0h5quZVpKF/3ymNUFRannOvIs3LStHu/hHYHzcrD9//ht0RogD8RlS/UeUt6ACx9 a62Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:from:to:cc:subject:in-reply-to :references:mime-version:content-disposition :content-transfer-encoding; bh=iAFRPFMunlzUCCZlbxNxP+5zGwWif9fr85Jlczqr9bo=; b=n+L+voqgmhyPQPfqnnjuhY0VOT0YiGQ8xIWtVK/jAroih1GKBGuxAJBj1J/vJJtuo2 FCtBMqNtPCECc2kLM4BoJbWixfUXHd89acdrAJnsBvl4c0O/5e0ObSBlsjEilf4qTHvm Ze9+HNf7nTl4NN+maE6tliY46n0cX9gY2oK/SlDd6GPphiB+btoUesrYMJw0PNncOLqi wrAZjzb70sSUVIDA0Df2wID89w48KDTmIuFk8EuvyojGOwQ+y5YWfOG/u7+dwxT2DDtV U4ZuD3Lk2ILNgg3zD+2g3J9wuqxQMVrCPg2HsRQD0qUSbI42wR4NDIIqAGZIzJKxUq4U xo2A== X-Gm-Message-State: APjAAAX0alLC1sR/Ntfk4uFpAPnBP70jPeqWJAidfANViSDrikxD2yeL 1n9VExM6sqMBncm7KBN1HgM= X-Received: by 2002:ab0:5607:: with SMTP id y7mr30999072uaa.76.1558721481168; Fri, 24 May 2019 11:11:21 -0700 (PDT) Received: from localhost (modemcable249.105-163-184.mc.videotron.ca. [184.163.105.249]) by smtp.gmail.com with ESMTPSA id 2sm3245435vke.27.2019.05.24.11.11.19 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Fri, 24 May 2019 11:11:20 -0700 (PDT) Date: Fri, 24 May 2019 14:11:19 -0400 Message-ID: <20190524141119.GJ17138@t480s.localdomain> From: Vivien Didelot To: Rasmus Villemoes Cc: Andrew Lunn , Florian Fainelli , "David S. Miller" , Rasmus Villemoes , "netdev@vger.kernel.org" , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 5/5] net: dsa: add support for mv88e6250 In-Reply-To: <20190524085921.11108-6-rasmus.villemoes@prevas.dk> References: <20190501193126.19196-1-rasmus.villemoes@prevas.dk> <20190524085921.11108-1-rasmus.villemoes@prevas.dk> <20190524085921.11108-6-rasmus.villemoes@prevas.dk> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Rasmus, On Fri, 24 May 2019 09:00:31 +0000, Rasmus Villemoes wrote: > This is a very rough attempt at adding support for the Marvell > 88E6250. The _info and _ops structures are based on those for 6240 (as > I have data sheets for both the 6240 and 6250), fixing the things that > I have determined to be different for the two chips - but some things > are almost certain to still be wrong. The idea is that for things that you're not certain about, simply don't add the corresponding ops. The driver would simply return -EOPNOTSUPP for the related features (if it doesn't behave like this, we must fix this.) Thanks, Vivien