summaryrefslogtreecommitdiff
path: root/Documentation
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-12-03 17:45:35 +0000
committerRussell King <rmk+kernel@armlinux.org.uk>2020-11-03 13:38:47 +0000
commit16c37d3a9a0714ffe648462c3a4620385ac2ad12 (patch)
tree0abd0ef4db700cf8bb1830d5ca39304eb01da4e2 /Documentation
parent952d3443c7a300ecab08a93f8d47bd185dcfc60f (diff)
net: sfp: add debugfs support
Add debugfs support to SFP so that the internal state of the SFP state machines and hardware signal state can be viewed from userspace, rather than having to compile a debug kernel to view state state transitions in the kernel log. The 'state' output looks like: Module state: empty Module probe attempts: 0 0 Device state: up Main state: down Fault recovery remaining retries: 5 PHY probe remaining retries: 12 moddef0: 0 rx_los: 1 tx_fault: 1 tx_disable: 1 Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'Documentation')
0 files changed, 0 insertions, 0 deletions