diff options
author | Mathieu Olivari <mathieu@codeaurora.org> | 2015-05-22 22:03:29 -0400 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2015-05-25 17:38:23 -0400 |
commit | 466c5ac8bdf29a382d064923a60ef302dd3b2aeb (patch) | |
tree | 0ba40de0a9fe79eaa992746efb300ef4f0c0dbb8 /scripts/gdb/linux/modules.py | |
parent | 5369c71f7ca24f6472f8fa883e05fa7469fab284 (diff) |
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 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions