Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S932451AbdIGVJk convert rfc822-to-8bit (ORCPT ); Thu, 7 Sep 2017 17:09:40 -0400 Received: from esa5.microchip.iphmx.com ([216.71.150.166]:40453 "EHLO esa5.microchip.iphmx.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S932383AbdIGVJh (ORCPT ); Thu, 7 Sep 2017 17:09:37 -0400 X-IronPort-AV: E=Sophos;i="5.42,360,1500966000"; d="scan'208";a="4516390" From: To: , , , , , , , , Subject: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers. Thread-Topic: [PATCH RFC 0/6] Modify KSZ9477 DSA driver in preparation to add other KSZ switch drivers. Thread-Index: AdMoGlj1Ldl7+iqrS5WSqulTsgvH7QAAfMUg Date: Thu, 7 Sep 2017 21:08:53 +0000 Message-ID: <93AF473E2DA327428DE3D46B72B1E9FD411219F8@CHN-SV-EXMX02.mchp-main.com> References: <93AF473E2DA327428DE3D46B72B1E9FD411218B7@CHN-SV-EXMX02.mchp-main.com> In-Reply-To: <93AF473E2DA327428DE3D46B72B1E9FD411218B7@CHN-SV-EXMX02.mchp-main.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.10.76.4] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 8BIT MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 693 Lines: 13 From: Tristram Ha This series of patches is to modify the original KSZ9477 DSA driver so that other KSZ switch drivers can be added and use the common code. This patch set is against net-next. drivers/net/dsa/microchip/Makefile | 2 +- drivers/net/dsa/microchip/ksz9477.c | 1317 ++++++++++++++++++++++++++++++++ drivers/net/dsa/microchip/ksz_common.c | 1156 +--------------------------- drivers/net/dsa/microchip/ksz_priv.h | 105 ++- drivers/net/dsa/microchip/ksz_spi.c | 13 +- net/dsa/tag_ksz.c | 40 +- 6 files changed, 1458 insertions(+), 1175 deletions(-) create mode 100644 drivers/net/dsa/microchip/ksz9477.c