Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752390AbdFSPCT (ORCPT ); Mon, 19 Jun 2017 11:02:19 -0400 Received: from mail.savoirfairelinux.com ([208.88.110.44]:46270 "EHLO mail.savoirfairelinux.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750761AbdFSO6R (ORCPT ); Mon, 19 Jun 2017 10:58:17 -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 00/10] net: dsa: Global 2 cosmetics Date: Mon, 19 Jun 2017 10:55:35 -0400 Message-Id: <20170619145545.26697-1-vivien.didelot@savoirfairelinux.com> X-Mailer: git-send-email 2.13.1 Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1220 Lines: 29 Similarly to what has been done for the Port and Global 1 registers, this patch series prefixes and documents the macros of Global 2. It brings no functional changes except for 1/10 which fixes the IRL init for 88E6390 family. Changes in v2: make *_g2_irl_init_all static inline without NET_DSA_MV88E6XXX_GLOBAL2 and compile test with and without the symbol. Vivien Didelot (10): net: dsa: mv88e6xxx: add irl_init_all op net: dsa: mv88e6xxx: clarify SMI PHY functions net: dsa: mv88e6xxx: prefix Global 2 Trunk macros net: dsa: mv88e6xxx: prefix Global 2 Device Mapping macros net: dsa: mv88e6xxx: prefix Global 2 MGMT macros net: dsa: mv88e6xxx: prefix Global 2 PVT macros net: dsa: mv88e6xxx: prefix Global 2 EEPROM macros net: dsa: mv88e6xxx: prefix Global 2 Switch MAC macros net: dsa: mv88e6xxx: prefix Global 2 Watchdog macros net: dsa: mv88e6xxx: prefix Global 2 remaining macros drivers/net/dsa/mv88e6xxx/chip.c | 47 ++++ drivers/net/dsa/mv88e6xxx/chip.h | 19 +- drivers/net/dsa/mv88e6xxx/global2.c | 449 ++++++++++++++++++++---------------- drivers/net/dsa/mv88e6xxx/global2.h | 311 ++++++++++++++++--------- 4 files changed, 503 insertions(+), 323 deletions(-) -- 2.13.1