summaryrefslogtreecommitdiff
path: root/lib
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-02-28 12:37:01 +0000
commit4d87e60f6be0e8f0bd00fe8bf58ea885fd3300f2 (patch)
tree12baafd443115cd8d368da2cb0defc8bc0168e52 /lib
parentf1c37817610b3541460caa474191aff9588a02a9 (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 'lib')
0 files changed, 0 insertions, 0 deletions