diff options
author | Ansuel Smith <[email protected]> | 2021-09-11 17:50:09 +0200 |
---|---|---|
committer | David S. Miller <[email protected]> | 2021-09-12 10:47:31 +0100 |
commit | ce062a0adbfe933b1932235fdfd874c4c91d1bb0 (patch) | |
tree | 53da0870879d3b14fa9ca03c45f5069dea1b4cbd /scripts/gdb/linux/lists.py | |
parent | 08dad2f4d541fcfe5e7bfda72cc6314bbfd2802f (diff) |
net: dsa: qca8k: fix kernel panic with legacy mdio mapping
When the mdio legacy mapping is used the mii_bus priv registered by DSA
refer to the dsa switch struct instead of the qca8k_priv struct and
causes a kernel panic. Create dedicated function when the internal
dedicated mdio driver is used to properly handle the 2 different
implementation.
Fixes: 759bafb8a322 ("net: dsa: qca8k: add support for internal phy and internal mdio")
Signed-off-by: Ansuel Smith <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/lists.py')
0 files changed, 0 insertions, 0 deletions