linux-hardened/drivers/net/ethernet/stmicro/stmmac
Giuseppe CAVALLARO 7ac2905511 stmmac: export DMA TX/RX rings via debugfs (v3)
This patch adds the following debugFs entry to dump the
RX/TX DMA rings:

/sys/kernel/debug/stmmaceth/descriptors_status

This is an example:

=======================
  RX descriptor ring
=======================
[0] DES0=0x85ee0320 DES1=0x1fff1fff BUF1=0x5fae2022 BUF2=0x0
[1] DES0=0x85ee0320 DES1=0x1fff1fff BUF1=0x5fae0022 BUF2=0x0
[2] DES0=0x81460320 DES1=0x1fff1fff BUF1=0x5f9dd022 BUF2=0x0

Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
2011-09-15 15:40:01 -04:00
..
common.h stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
descs.h
dwmac100.h
dwmac100_core.c stmmac: remove the mmc code (v3) 2011-09-15 15:40:00 -04:00
dwmac100_dma.c
dwmac1000.h
dwmac1000_core.c stmmac: remove the mmc code (v3) 2011-09-15 15:40:00 -04:00
dwmac1000_dma.c stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
dwmac_dma.h
dwmac_lib.c
enh_desc.c
Kconfig stmmac: export DMA TX/RX rings via debugfs (v3) 2011-09-15 15:40:01 -04:00
Makefile stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
mmc.h stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
mmc_core.c stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
norm_desc.c
stmmac.h stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
stmmac_ethtool.c stmmac: add MMC support exported via ethtool (v3) 2011-09-15 15:40:01 -04:00
stmmac_main.c stmmac: export DMA TX/RX rings via debugfs (v3) 2011-09-15 15:40:01 -04:00
stmmac_mdio.c
stmmac_timer.c
stmmac_timer.h