Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751980AbdIVTo1 (ORCPT ); Fri, 22 Sep 2017 15:44:27 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:53330 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751795AbdIVTo0 (ORCPT ); Fri, 22 Sep 2017 15:44:26 -0400 From: Vivien Didelot To: netdev@vger.kernel.org Cc: linux-kernel@vger.kernel.org, kernel@savoirfairelinux.com, "David S. Miller" , Florian Fainelli , Andrew Lunn , Vivien Didelot Subject: [PATCH net-next v2 0/3] net: dsa: use slave device phydev Date: Fri, 22 Sep 2017 15:40:42 -0400 Message-Id: <20170922194045.18814-1-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.14.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 648 Lines: 19 This patchset removes the private phy_device in favor of the one provided by the slave net_device, makes slave open and close symmetrical and finally provides helpers for enabling or disabling a DSA port. Changes in v2: - do not remove the phy argument from port enable/disable Vivien Didelot (3): net: dsa: use slave device phydev net: dsa: make slave close symmetrical to open net: dsa: add port enable and disable helpers net/dsa/dsa_priv.h | 3 +- net/dsa/port.c | 31 +++++++++++- net/dsa/slave.c | 143 +++++++++++++++++++++++------------------------------ 3 files changed, 94 insertions(+), 83 deletions(-) -- 2.14.1