diff options
author | Oleksij Rempel <o.rempel@pengutronix.de> | 2020-05-14 22:42:18 +0300 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2020-05-15 21:03:03 +0300 |
commit | ca1c933bcee9393d8a83c6be1093471e0c3b655d (patch) | |
tree | ea219d0a20f6dff69e7946dcf62065a70b4b22bb /drivers/gpu/drm/i915/i915_gem_evict.c | |
parent | b0ed0bbfb3046ed127f6004b5893ccb6cdd9ba90 (diff) | |
download | linux-ca1c933bcee9393d8a83c6be1093471e0c3b655d.tar.xz |
net: phy: tja11xx: execute cable test on link up
A typical 100Base-T1 link should be always connected. If the link is in
a shot or open state, it is a failure. In most cases, we won't be able
to automatically handle this issue, but we need to log it or notify user
(if possible).
With this patch, the cable will be tested on "ip l s dev .. up" attempt
and send ethnl notification to the user space.
This patch was tested with TJA1102 PHY and "ethtool --monitor" command.
Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/gpu/drm/i915/i915_gem_evict.c')
0 files changed, 0 insertions, 0 deletions