diff options
author | Russell King (Oracle) <[email protected]> | 2024-05-13 09:25:16 +0200 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2024-05-13 17:20:00 -0700 |
commit | 81b418a6565757128afc6f74dd997598f8adb1b2 (patch) | |
tree | 1ed0d5cf5b2b4f7d7094c1455e2383bd76d751b5 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | f0ef433fc264b70a415257dba126acbe3fda666b (diff) |
net: stmmac: dwmac-socfpga: use pcs_init/pcs_exit
Use the newly introduced pcs_init() and pcs_exit() operations to
create and destroy the PCS instance at a more appropriate moment during
the driver lifecycle, thereby avoiding publishing a network device to
userspace that has not yet finished its PCS initialisation.
There are other similar issues with this driver which remain
unaddressed, but these are out of scope for this patch.
Signed-off-by: Russell King (Oracle) <[email protected]>
Reviewed-by: Maxime Chevallier <[email protected]>
[rgantois: removed second parameters of new callbacks]
Signed-off-by: Romain Gantois <[email protected]>
Reviewed-by: Hariprasad Kelam <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions