summaryrefslogtreecommitdiff
path: root/drivers/net/can/rcar
diff options
context:
space:
mode:
authorOleksij Rempel <o.rempel@pengutronix.de>2020-05-14 22:42:18 +0300
committerDavid S. Miller <davem@davemloft.net>2020-05-15 21:03:03 +0300
commitca1c933bcee9393d8a83c6be1093471e0c3b655d (patch)
treeea219d0a20f6dff69e7946dcf62065a70b4b22bb /drivers/net/can/rcar
parentb0ed0bbfb3046ed127f6004b5893ccb6cdd9ba90 (diff)
downloadlinux-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/net/can/rcar')
0 files changed, 0 insertions, 0 deletions