Messages in this thread | | | From | Voon Weifeng <> | Subject | [PATCH net-next v6 0/5] net: stmmac: enable EHL SGMII | Date | Wed, 5 Jun 2019 02:58:51 +0800 |
| |
This patch-set is to enable Ethernet controller (DW Ethernet QoS and DW Ethernet PCS) with SGMII interface in Elkhart Lake. The DW Ethernet PCS is the Physical Coding Sublayer that is between Ethernet MAC and PHY and uses MDIO Clause-45 as Communication.
Selttests results: root@intel-corei7-64:~# ethtool -t eth0 The test result is PASS The test extra info: 1. MAC Loopback 0 2. PHY Loopback -95 3. MMC Counters 0 4. EEE -95 5. Hash Filter MC 0 6. Perfect Filter UC 0 7. MC Filter 0 8. UC Filter 0 9. Flow Control 0
Kweh Hock Leong (1): net: stmmac: enable clause 45 mdio support
Ong Boon Leong (3): net: stmmac: introducing support for DWC xPCS logics net: stmmac: add xpcs function hooks into main driver and ethtool net: stmmac: add xPCS functions for device with DWMACv5.1
Voon Weifeng (1): net: stmmac: add EHL SGMII 1Gbps PCI info and PCI ID
drivers/net/ethernet/stmicro/stmmac/Makefile | 2 +- drivers/net/ethernet/stmicro/stmmac/common.h | 1 + drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 34 ++++ drivers/net/ethernet/stmicro/stmmac/dwxpcs.c | 208 +++++++++++++++++++++ drivers/net/ethernet/stmicro/stmmac/dwxpcs.h | 51 +++++ drivers/net/ethernet/stmicro/stmmac/hwif.c | 42 ++++- drivers/net/ethernet/stmicro/stmmac/hwif.h | 21 +++ drivers/net/ethernet/stmicro/stmmac/stmmac.h | 2 + .../net/ethernet/stmicro/stmmac/stmmac_ethtool.c | 50 +++-- drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 139 ++++++++++---- drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 40 +++- drivers/net/ethernet/stmicro/stmmac/stmmac_pci.c | 111 +++++++++++ include/linux/phy.h | 2 + include/linux/stmmac.h | 3 + 14 files changed, 648 insertions(+), 58 deletions(-) create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwxpcs.c create mode 100644 drivers/net/ethernet/stmicro/stmmac/dwxpcs.h
-- Changelog v6: *Added missing selftests entry in dwmac510_xpcs_ops *Applied more reversed christmas tree Changelog v5: *Cosmetic touch up *Change axi_wr_osr_lmt and axi_rd_osr_lmt value to 1 since the register has a default value of 1 Changelog v4: *Rebased to latest net-next Changelog v3: *Applied reversed christmas tree Changelog v2: *Added support for the C37 AN for 1000BASE-X and SGMII (MAC side SGMII only) *removed and submitted the fix patch to net "net: stmmac: dma channel control register need to be init first" *Squash the following 2 patches and move it to the end of the patch set: "net: stmmac: add EHL SGMII 1Gbps platform data and PCI ID" "net: stmmac: add xPCS platform data for EHL" 1.9.1
| |