stmmac DebugFS entries are currently global to the driver. As a result, having more than one stmmac device in the system creates the following error: * ERROR stmmaceth, debugfs create directory failed * stmmac_hw_setup: failed debugFS registration This also results in being able to access the debugfs information for the first registered device only. This patch changes the debugfs structure to have one sub-directory per net-device. Files under "/sys/kernel/debug/stmmaceth" will now show-up under /sys/kernel/debug/stmmaceth/ethN/. Signed-off-by: Mathieu Olivari <mathieu@codeaurora.org> Signed-off-by: David S. Miller <davem@davemloft.net> |
||
|---|---|---|
| .. | ||
| chain_mode.c | ||
| common.h | ||
| descs.h | ||
| descs_com.h | ||
| dwmac-meson.c | ||
| dwmac-rk.c | ||
| dwmac-socfpga.c | ||
| dwmac-sti.c | ||
| dwmac-sunxi.c | ||
| dwmac100.h | ||
| dwmac100_core.c | ||
| dwmac100_dma.c | ||
| dwmac1000.h | ||
| dwmac1000_core.c | ||
| dwmac1000_dma.c | ||
| dwmac_dma.h | ||
| dwmac_lib.c | ||
| enh_desc.c | ||
| Kconfig | ||
| Makefile | ||
| mmc.h | ||
| mmc_core.c | ||
| norm_desc.c | ||
| ring_mode.c | ||
| stmmac.h | ||
| stmmac_ethtool.c | ||
| stmmac_hwtstamp.c | ||
| stmmac_main.c | ||
| stmmac_mdio.c | ||
| stmmac_pci.c | ||
| stmmac_platform.c | ||
| stmmac_platform.h | ||
| stmmac_ptp.c | ||
| stmmac_ptp.h | ||