diff options
| author | Doug Berger <[email protected]> | 2017-10-25 15:04:19 -0700 |
|---|---|---|
| committer | David S. Miller <[email protected]> | 2017-10-26 10:14:54 +0900 |
| commit | 6c97f010cee28e3f262c547215fb0e8702bdb654 (patch) | |
| tree | 06ea31e45584d5f2698f1ee1817854268c59b9f1 /tools/perf/scripts/python | |
| parent | 484bfa1507bf71cecc7833ae7f7272d8af49badc (diff) | |
net: bcmgenet: use dev->phydev instead of priv->phydev
Now that the software reset of the PHY has been removed it is no
longer necessary to retain a private pointer to the phydev for
use when the PHY is detached (which isn't generally safe anyway).
The driver now uses the phydev member attached to the net_device.
For ethtool commands that have a PHY component, an explicit check
is made to prevent accessing an invalid phydev pointer when one
is not attached (e.g. interface is down).
Signed-off-by: Doug Berger <[email protected]>
Signed-off-by: David S. Miller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions