diff options
| author | Vladimir Oltean <[email protected]> | 2021-08-24 15:00:41 +0300 |
|---|---|---|
| committer | Ramon Fried <[email protected]> | 2021-09-28 18:50:56 +0300 |
| commit | 4b46e8388549bd0e52ec742c7e5ed71e0edc1b9f (patch) | |
| tree | 5643b559ecab5f15a2cc2127ef094de13f2e74b6 /scripts | |
| parent | 5eee5ab91638c4482dd59ff511feefd3b15a2472 (diff) | |
net: dsa: introduce a .port_probe() method in struct dsa_ops
Some drivers might want to execute code for each port at probe time, as
opposed to executing code just-in-time for the port selected for
networking.
To cater to that use case, introduce a .port_probe() callback method
into the DSA switch operations which is called for each available port,
at the end of dsa_port_probe().
Signed-off-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Tested-by: Michael Walle <[email protected]>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
