diff options
author | Christian Marangi <ansuelsmth@gmail.com> | 2023-05-29 18:32:42 +0200 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2023-05-31 09:42:09 +0100 |
commit | e0256648c831af13cbfe4a1787327fcec01c2807 (patch) | |
tree | 2ca754ce3f26b7774fb0a47d408d2ac23248770d /drivers/net/dsa/sja1105 | |
parent | 947acacab5ea151291b861cdfbde16ff5cf1b08c (diff) |
net: dsa: qca8k: implement hw_control ops
Implement hw_control ops to drive Switch LEDs based on hardware events.
Netdev trigger is the declared supported trigger for hw control
operation and supports the following mode:
- tx
- rx
When hw_control_set is called, LEDs are set to follow the requested
mode.
Each LEDs will blink at 4Hz by default.
Signed-off-by: Christian Marangi <ansuelsmth@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/sja1105')
0 files changed, 0 insertions, 0 deletions