diff options
| author | Michael Walle <[email protected]> | 2021-02-24 17:40:40 +0100 |
|---|---|---|
| committer | Priyanka Jain <[email protected]> | 2021-03-05 10:25:42 +0530 |
| commit | e5d7d119287ed1bc867e77225660c1ac9bb51072 (patch) | |
| tree | 5658910da0c5b80f7063cc43eae17b099e31e71c /include/linux/linux_string.h | |
| parent | a02dcbbb5a8e24a3f6cd3e7f158e1953b82d5e2e (diff) | |
net: dsa: probe master device
DSA needs to have the master device probed first for MAC inheritance.
Until now, it only works by chance because the only user (LS1028A SoC)
will probe the master device first. The probe order is given by the PCI
device ordering, thus it works because the master device has a "smaller"
BDF then the switch device.
Explicitly probe the master device in dsa_port_probe().
Fixes: fc054d563bfb ("net: Introduce DSA class for Ethernet switches")
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Vladimir Oltean <[email protected]>
Reviewed-by: Ramon Fried <[email protected]>
Reviewed-by: Priyanka Jain <[email protected]>
Diffstat (limited to 'include/linux/linux_string.h')
0 files changed, 0 insertions, 0 deletions
