diff options
author | Florian Fainelli <f.fainelli@gmail.com> | 2021-03-10 23:17:58 +0100 |
---|---|---|
committer | David S. Miller <davem@davemloft.net> | 2021-03-11 01:05:20 +0100 |
commit | 47142ed6c34d544ae9f0463e58d482289cbe0d46 (patch) | |
tree | dc43de7c76327e75533096bb90535160960dd204 /net | |
parent | net: dsa: b53: VLAN filtering is global to all users (diff) | |
download | linux-47142ed6c34d544ae9f0463e58d482289cbe0d46.tar.xz linux-47142ed6c34d544ae9f0463e58d482289cbe0d46.zip |
net: dsa: bcm_sf2: Qualify phydev->dev_flags based on port
Similar to commit 92696286f3bb37ba50e4bd8d1beb24afb759a799 ("net:
bcmgenet: Set phydev->dev_flags only for internal PHYs") we need to
qualify the phydev->dev_flags based on whether the port is connected to
an internal or external PHY otherwise we risk having a flags collision
with a completely different interpretation depending on the driver.
Fixes: aa9aef77c761 ("net: dsa: bcm_sf2: communicate integrated PHY revision to PHY driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'net')
0 files changed, 0 insertions, 0 deletions