summaryrefslogtreecommitdiff
path: root/scripts
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-10-12 21:43:34 +0100
commit4c016f1804c437fee3997f497c23affbc8f8de32 (patch)
tree155fbe85c04f8a31061bfb5b04b9a26ea02eb2fc /scripts
parente94b100e7590735f890262c6723b29301203879e (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 'scripts')
0 files changed, 0 insertions, 0 deletions