[PATCH v3 0/5] drivers: net: xgene: Fix 1G hot-plug and module support
Iyappan Subramanian
isubramanian at apm.com
Mon Jun 6 11:15:57 PDT 2016
This patchset addresses the following issues,
1. hot-plug issue on the SGMII 1G interface
- by adding a driver for MDIO management
2. fixes the kernel crash when the driver loaded as an kernel module
- by fixing hardware cleanups and rearrange kernel API calls
Signed-off-by: Iyappan Subramanian <isubramanian at apm.com>
Tested-by: Matthias Brugger <mbrugger at suse.com>
---
v3: Address review comments from v2
- Add comment about hardware clock reset sequence on xgene_mdio_reset
v2: Address review comments from v1
- Fixed patch 1 compilation error
- Fixed mdio at 1f610000 xge0clk reference
- Squashed dtb patches
- Added PORT_OFFSET macro
v1:
- Initial version
---
Iyappan Subramanian (5):
drivers: net: xgene: MAC and PHY configuration changes
drivers: net: xgene: Backward compatibility with older firmware
drivers: net: phy: Add MDIO driver
dtb: xgene: Add MDIO node
drivers: net: xgene: Fix module load/unload crash
arch/arm64/boot/dts/apm/apm-merlin.dts | 9 +
arch/arm64/boot/dts/apm/apm-mustang.dts | 12 +
arch/arm64/boot/dts/apm/apm-shadowcat.dtsi | 11 +
arch/arm64/boot/dts/apm/apm-storm.dtsi | 38 +-
drivers/net/ethernet/apm/xgene/Kconfig | 1 +
drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 241 ++++++----
drivers/net/ethernet/apm/xgene/xgene_enet_hw.h | 19 +-
drivers/net/ethernet/apm/xgene/xgene_enet_main.c | 325 ++++++++-----
drivers/net/ethernet/apm/xgene/xgene_enet_main.h | 36 +-
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.c | 191 +++++++-
drivers/net/ethernet/apm/xgene/xgene_enet_sgmac.h | 8 +
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.c | 66 ++-
drivers/net/ethernet/apm/xgene/xgene_enet_xgmac.h | 4 +
drivers/net/phy/Kconfig | 7 +
drivers/net/phy/Makefile | 1 +
drivers/net/phy/mdio-xgene.c | 532 ++++++++++++++++++++++
drivers/net/phy/mdio-xgene.h | 140 ++++++
17 files changed, 1374 insertions(+), 267 deletions(-)
create mode 100644 drivers/net/phy/mdio-xgene.c
create mode 100644 drivers/net/phy/mdio-xgene.h
--
1.9.1
More information about the linux-arm-kernel
mailing list