[PATCH 0/6] fix some bugs and add some features in stmmac

From: Biao Huang
Date: Sun Apr 28 2019 - 02:31:26 EST


This series fix some bugs and add some features in stmmac driver.
5 patches are for common stmmac or dwmac4:
1. update rx tail pointer to fix rx dma hang issue.
2. change condition for mdc clock to fix csr_clk can't be zero issue.
3. write the modified value back to MTL_OPERATION_MODE.
4. add support for hash table size 128/256
5. add mdio clause 45 access from mac device for dwmac4.
1 patche is for dwmac-mediatek:
1. modify csr_clk value to fix mdio read/write fail issue for dwmac-mediatek.

Biao Huang (6):
net: stmmac: update rx tail pointer register to fix rx dma hang
issue.
net: stmmac: fix csr_clk can't be zero issue
net: stmmac: write the modified value back to MTL_OPERATION_MODE
net: stmmac: add support for hash table size 128/256 in dwmac4
net: stmmac: add mdio clause 45 access from mac device for dwmac4
stmmac: dwmac-mediatek: modify csr_clk value to fix mdio read/write
fail

drivers/net/ethernet/stmicro/stmmac/common.h | 18 ++-
.../net/ethernet/stmicro/stmmac/dwmac-mediatek.c | 4 +-
drivers/net/ethernet/stmicro/stmmac/dwmac4.h | 4 +-
drivers/net/ethernet/stmicro/stmmac/dwmac4_core.c | 55 ++++---
drivers/net/ethernet/stmicro/stmmac/dwmac4_dma.c | 1 +
drivers/net/ethernet/stmicro/stmmac/stmmac_main.c | 9 +-
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c | 167 ++++++++++++++++++--
7 files changed, 213 insertions(+), 45 deletions(-)

--
1.7.9.5