diff options
author | Andrew Lunn <[email protected]> | 2019-08-25 01:04:17 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2019-08-24 17:01:36 -0700 |
commit | c1236979b4d2cbaef8bb34aec83a44de445e4210 (patch) | |
tree | c0d88cfa6a811c5c934c95090201aee36b11759f /tools/perf/scripts/python/check-perf-trace.py | |
parent | a914a84110354925afbae72d2ade97773e018abd (diff) |
net: phy: sfp: Add labels to hwmon sensors
SFPs can report two different power values, the transmit power and the
receive power. Add labels to make it clear which is which. Also add
labels to the other sensors, VCC power supply, bias and module
temperature.
sensors(1) now shows:
sff2-isa-0000
Adapter: ISA adapter
VCC: +3.23 V
temperature: +33.4 C
TX_power: 276.00 uW
RX_power: 20.00 uW
bias: +0.01 A
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions