From mboxrd@z Thu Jan 1 00:00:00 1970 From: Guenter Roeck Subject: [PATCH v2 00/15] net: dsa: Fixes and enhancements Date: Sun, 26 Oct 2014 09:52:30 -0700 Message-ID: <1414342365-27191-1-git-send-email-linux@roeck-us.net> Cc: "David S. Miller" , Florian Fainelli , Andrew Lunn , linux-kernel@vger.kernel.org, Guenter Roeck To: netdev@vger.kernel.org Return-path: Received: from bh-25.webhostbox.net ([208.91.199.152]:45284 "EHLO bh-25.webhostbox.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751428AbaJZQww (ORCPT ); Sun, 26 Oct 2014 12:52:52 -0400 Received: from mailnull by bh-25.webhostbox.net with sa-checked (Exim 4.82) (envelope-from ) id 1XiR3j-002qX5-H6 for netdev@vger.kernel.org; Sun, 26 Oct 2014 16:52:51 +0000 Sender: netdev-owner@vger.kernel.org List-ID: Patch 01/15 addresses an annoying and unhelpful log message. Patches 02/15 and 03/15 are minor enhancements, adding support for known switch revisions. Patches 04/15 and 05/15 add support for MV88E6352 and MV88E6176. Patch 06/15 adds support for hardware monitoring, specifically for reporting the chip temperature, to the dsa subsystem. Patches 07/15 and 08/15 implement hardware monitoring for MV88E6352, MV88E6176, MV88E6123, MV88E6161, and MV88E6165. Patch 09/15 and 10/15 add support for EEPROM access to the DSA subsystem. Patch 11/15 implements EEPROM access for MV88E6352 and MV88E6176. Patch 12/15 adds support for reading switch registers to the DSA subsystem. Patches 13/15 amd 14/15 implement support for reading switch registers to the drivers for MV88E6352, MV88E6176, MV88E6123, MV88E6161, and MV88E6165. Patch 15/15 adds support for reading additional RMON registers to the drivers for MV88E6352, MV88E6176, MV88E6123, MV88E6161, and MV88E6165. The series resides and was tested on top of v3.18-rc1 in a system with MV88E6352. Testing in systems with 88E6131, 88E6060 and MV88E6165 was done earlier (I don't have access to those systems right now). The series applies cleanly to net-next as of today (10/26). v2: - Made reporting chip temperatures through the hwmon subsystem optional with new Kconfig option - Changed the hwmon chip name to _dsa - Made EEPROM presence and size configurable through platform and devicetree data - Various minor changes and fixes (see individual patches for details) ---------------------------------------------------------------- Guenter Roeck (15): net: dsa: Don't set skb->protocol on outgoing tagged packets net: dsa: Report known silicon revisions for Marvell 88E6060 net: dsa: Report known silicon revisions for Marvell 88E6131 net: dsa: Add support for Marvell 88E6352 net: dsa/mv88e6352: Add support for MV88E6176 net: dsa: Add support for reporting switch chip temperatures net: dsa/mv88e6352: Report chip temperature net: dsa/mv88e6123_61_65: Report chip temperature net: dsa: Add support for switch EEPROM access dsa: Add new optional devicetree property to describe EEPROM size net: dsa/mv88e6352: Implement EEPROM access functions net: dsa: Add support for reading switch registers with ethtool net: dsa/mv88e6123_61_65: Add support for reading switch registers net: dsa/mv88e6352: Add support for reading switch registers net: dsa: Provide additional RMON statistics Documentation/devicetree/bindings/net/dsa/dsa.txt | 6 +- MAINTAINERS | 5 + drivers/net/dsa/Kconfig | 9 + drivers/net/dsa/Makefile | 3 + drivers/net/dsa/mv88e6060.c | 5 +- drivers/net/dsa/mv88e6123_61_65.c | 73 +- drivers/net/dsa/mv88e6131.c | 12 +- drivers/net/dsa/mv88e6352.c | 788 ++++++++++++++++++++++ drivers/net/dsa/mv88e6xxx.c | 53 +- drivers/net/dsa/mv88e6xxx.h | 15 + include/net/dsa.h | 33 + net/dsa/Kconfig | 11 + net/dsa/dsa.c | 135 ++++ net/dsa/slave.c | 64 ++ net/dsa/tag_dsa.c | 2 - net/dsa/tag_edsa.c | 2 - net/dsa/tag_trailer.c | 2 - 17 files changed, 1199 insertions(+), 19 deletions(-) create mode 100644 drivers/net/dsa/mv88e6352.c