[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Message-Id: <20171027195519.5931-1-vivien.didelot@savoirfairelinux.com>
Date: Fri, 27 Oct 2017 15:55:12 -0400
From: Vivien Didelot <vivien.didelot@...oirfairelinux.com>
To: netdev@...r.kernel.org
Cc: linux-kernel@...r.kernel.org, kernel@...oirfairelinux.com,
"David S. Miller" <davem@...emloft.net>,
Florian Fainelli <f.fainelli@...il.com>,
Andrew Lunn <andrew@...n.ch>,
Vivien Didelot <vivien.didelot@...oirfairelinux.com>
Subject: [PATCH net-next 0/7] net: dsa: add port parsing functions
This patchset adds port parsing functions called early in the new
bindings parsing stage, which regroup all the fetching of static data
available at the port level, including the port's type, name and CPU
master interface.
This simplifies the rest of the code which does not need to dig into
device tree or platform data again in order to check a port's type or
name.
Vivien Didelot (7):
net: dsa: get ports within parsing code
net: dsa: add port parse functions
net: dsa: get port type at parse time
net: dsa: check master device before put
net: dsa: get master device at port parsing time
net: dsa: get port name at parse time
net: dsa: remove name arg from slave create
net/dsa/dsa2.c | 163 +++++++++++++++++++++++++++++------------------------
net/dsa/dsa_priv.h | 2 +-
net/dsa/legacy.c | 3 +-
net/dsa/slave.c | 3 +-
4 files changed, 95 insertions(+), 76 deletions(-)
--
2.14.3
Powered by blists - more mailing lists