From mboxrd@z Thu Jan 1 00:00:00 1970 From: Florian Fainelli Subject: [PATCH net-next 0/3] net: dsa: support PHY reads/writes diversion Date: Tue, 10 Mar 2015 16:57:10 -0700 Message-ID: <1426031833-5113-1-git-send-email-f.fainelli@gmail.com> Cc: davem@davemloft.net, devicetree@vger.kernel.org, Florian Fainelli To: netdev@vger.kernel.org Return-path: Received: from mail-pa0-f51.google.com ([209.85.220.51]:46097 "EHLO mail-pa0-f51.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751544AbbCKADF (ORCPT ); Tue, 10 Mar 2015 20:03:05 -0400 Sender: netdev-owner@vger.kernel.org List-ID: Hi all, This patch series completes the PHY reads/writes diversion when we need to use the slave MII bus provided by DSA and the underlying switch drivers to implement the real PHY reads and writes. This is particularly useful when they are conflicting MDIO bus addresses as in the case of multiple Broadcom switches connected to each other (internal and external, or just external). Florian Fainelli (3): of: mdio: export of_mdio_parse_addr net: dsa: move PHY setup on DSA MII bus to its own function net: dsa: fully divert PHY reads/writes if requested drivers/of/of_mdio.c | 3 ++- include/linux/of_mdio.h | 6 ++++++ net/dsa/slave.c | 51 +++++++++++++++++++++++++++++++++++++------------ 3 files changed, 47 insertions(+), 13 deletions(-) -- 2.1.0