From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 1E44CC433EF for ; Tue, 14 Jun 2022 21:45:43 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1345510AbiFNVpm (ORCPT ); Tue, 14 Jun 2022 17:45:42 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41342 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231695AbiFNVpl (ORCPT ); Tue, 14 Jun 2022 17:45:41 -0400 Received: from vps0.lunn.ch (vps0.lunn.ch [185.16.172.187]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CBAF0396A2 for ; Tue, 14 Jun 2022 14:45:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lunn.ch; s=20171124; h=In-Reply-To:Content-Disposition:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:From:Sender:Reply-To:Subject: Date:Message-ID:To:Cc:MIME-Version:Content-Type:Content-Transfer-Encoding: Content-ID:Content-Description:Content-Disposition:In-Reply-To:References; bh=qjqVnXxoF4qKehisogHwZO+Dd4GvgnHXyR+LcmnbWlU=; b=n+EpnVIdNhxDYxahChcnv1X91T tv05RDQcdC9O6RjsUGJtbN4iUy/kYNemWPOa9kJlRrg4gaa+FmdXJhW4fzmiiKfhSDS9Acc5F/yU/ C7BaQo7a6hcHq/EU2mdzkiSfC+hayKF2h93KeDA2uRDgX8BvmsrPdHuadHA4pk1L2c48=; Received: from andrew by vps0.lunn.ch with local (Exim 4.94.2) (envelope-from ) id 1o1ELt-006vvm-U6; Tue, 14 Jun 2022 23:45:33 +0200 Date: Tue, 14 Jun 2022 23:45:33 +0200 From: Andrew Lunn To: "Russell King (Oracle)" Cc: Marek =?iso-8859-1?Q?Beh=FAn?= , "David S. Miller" , Eric Dumazet , Florian Fainelli , Heiner Kallweit , Jakub Kicinski , netdev@vger.kernel.org, Paolo Abeni , Robert Hancock , Vivien Didelot , Vladimir Oltean Subject: Re: [PATCH net-next 08/15] net: dsa: add support for mac_prepare() and mac_finish() calls Message-ID: References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: Precedence: bulk List-ID: X-Mailing-List: netdev@vger.kernel.org On Mon, Jun 13, 2022 at 02:01:01PM +0100, Russell King (Oracle) wrote: > Add DSA support for the phylink mac_prepare() and mac_finish() calls. > These were introduced as part of the PCS support to allow MACs to > perform preparatory steps prior to configuration, and finalisation > steps after the MAC and PCS has been configured. > > Introducing phylink_pcs support to the mv88e6xxx DSA driver needs some > code moved out of its mac_config() stage into the mac_prepare() and > mac_finish() stages, and this commit facilitates such code in DSA > drivers. > > Signed-off-by: Russell King (Oracle) Reviewed-by: Andrew Lunn Andrew