From mboxrd@z Thu Jan 1 00:00:00 1970 From: Paul Burton Subject: [PATCH v7 00/11] net: pch_gbe: Fixes, conversion to phylib, enable for MIPS Date: Tue, 26 Jun 2018 17:06:01 -0700 Message-ID: <20180627000612.27263-1-paul.burton@mips.com> Mime-Version: 1.0 Content-Type: text/plain Cc: "David S . Miller" , Andrew Lunn , paul.burton@mips.com To: netdev@vger.kernel.org Return-path: Received: from mail-eopbgr700099.outbound.protection.outlook.com ([40.107.70.99]:11034 "EHLO NAM04-SN1-obe.outbound.protection.outlook.com" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1752964AbeF0AGc (ORCPT ); Tue, 26 Jun 2018 20:06:32 -0400 Sender: netdev-owner@vger.kernel.org List-ID: This series cleans up & reworks the pch_gbe driver such that it no longer contains PHY-specific code, converts it to phylib & enables it to be built on MIPS systems for use with the MIPS Boston development board. Unfortunately I don't have access to a Minnowboard, which the driver contains some platform-specific code for, so I haven't been able to test the end result there. Applies cleanly atop net-next as of commit 27a2628b3c24 ("selftests: forwarding: mirror_gre_vlan_bridge_1q: Unset rp_filter"). Thanks, Paul Andrew Lunn (1): net: pch_gbe: Convert to mdiobus and phylib Paul Burton (10): net: pch_gbe: Remove unused struct pch_gbe_adapter fields net: pch_gbe: Mask spare MAC addresses all at once net: pch_gbe: Probe PHY ID & initialize only once net: pch_gbe: Remove irq_sem net: pch_gbe: Move pch_gbe_watchdog lower in pch_gbe_main.c net: pch_gbe: Only enable MAC when PHY link is active net: pch_gbe: Remove AR8031 PHY hibernation disable net: pch_gbe: Clean up resets ptp: pch: Allow build on MIPS platforms net: pch_gbe: Allow build on MIPS platforms drivers/net/ethernet/oki-semi/pch_gbe/Kconfig | 5 +- .../net/ethernet/oki-semi/pch_gbe/Makefile | 2 +- .../net/ethernet/oki-semi/pch_gbe/pch_gbe.h | 20 +- .../oki-semi/pch_gbe/pch_gbe_ethtool.c | 88 +--- .../ethernet/oki-semi/pch_gbe/pch_gbe_main.c | 407 ++++++++---------- .../ethernet/oki-semi/pch_gbe/pch_gbe_param.c | 265 ------------ .../ethernet/oki-semi/pch_gbe/pch_gbe_phy.c | 377 ---------------- .../ethernet/oki-semi/pch_gbe/pch_gbe_phy.h | 35 -- drivers/ptp/Kconfig | 2 +- 9 files changed, 191 insertions(+), 1010 deletions(-) delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.c delete mode 100644 drivers/net/ethernet/oki-semi/pch_gbe/pch_gbe_phy.h -- 2.18.0