summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa
diff options
context:
space:
mode:
authorMathieu Olivari2015-05-23 04:03:29 +0200
committerDavid S. Miller2015-05-25 23:38:23 +0200
commit466c5ac8bdf29a382d064923a60ef302dd3b2aeb (patch)
tree0ba40de0a9fe79eaa992746efb300ef4f0c0dbb8 /drivers/net/dsa
parentnet/ibm/emac: fix size of emac dump memory areas (diff)
downloadkernel-qcow2-linux-466c5ac8bdf29a382d064923a60ef302dd3b2aeb.tar.gz
kernel-qcow2-linux-466c5ac8bdf29a382d064923a60ef302dd3b2aeb.tar.xz
kernel-qcow2-linux-466c5ac8bdf29a382d064923a60ef302dd3b2aeb.zip
net: stmmac: create one debugfs dir per net-device
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>
Diffstat (limited to 'drivers/net/dsa')
0 files changed, 0 insertions, 0 deletions