diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-12-03 17:45:35 +0000 |
---|---|---|
committer | Russell King <rmk+kernel@armlinux.org.uk> | 2020-04-16 23:03:36 +0100 |
commit | 5ae3f82b2de02a36da870f1e598c2916df0a02dd (patch) | |
tree | e5d13ff9e130586b853c703aede0490ceb25456f /drivers/net/phy/Makefile | |
parent | e7f6a178c618196e693d7659dbb59c8de151fc6a (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 'drivers/net/phy/Makefile')
0 files changed, 0 insertions, 0 deletions