diff options
| author | Florian Fainelli <f.fainelli@gmail.com> | 2019-10-11 12:53:49 -0700 |
|---|---|---|
| committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-10-29 09:13:22 +0100 |
| commit | 0ed0978c29dbec456efdab4aa2f463799d1886ae (patch) | |
| tree | fd9e005acd538fd16c92400b3db6e6cc62746e2f /net/sctp/socket.c | |
| parent | 571e5f93e7566e8178b928881b80f4a9d245fb65 (diff) | |
net: bcmgenet: Set phydev->dev_flags only for internal PHYs
[ Upstream commit 92696286f3bb37ba50e4bd8d1beb24afb759a799 ]
phydev->dev_flags is entirely dependent on the PHY device driver which
is going to be used, setting the internal GENET PHY revision in those
bits only makes sense when drivers/net/phy/bcm7xxx.c is the PHY driver
being used.
Fixes: 487320c54143 ("net: bcmgenet: communicate integrated PHY revision to PHY driver")
Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Acked-by: Doug Berger <opendmb@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'net/sctp/socket.c')
0 files changed, 0 insertions, 0 deletions
