summaryrefslogtreecommitdiffstats
path: root/drivers/net/dsa/bcm_sf2.c
diff options
context:
space:
mode:
authorFlorian Fainelli2014-09-19 22:07:54 +0200
committerDavid S. Miller2014-09-19 22:27:07 +0200
commit6819563e646a7f3692836daefd12cd86c697759f (patch)
tree2769e45763a0e1da6c4550d33259ae2635efc16c /drivers/net/dsa/bcm_sf2.c
parentnet: bcmgenet: communicate integrated PHY revision to PHY driver (diff)
downloadkernel-qcow2-linux-6819563e646a7f3692836daefd12cd86c697759f.tar.gz
kernel-qcow2-linux-6819563e646a7f3692836daefd12cd86c697759f.tar.xz
kernel-qcow2-linux-6819563e646a7f3692836daefd12cd86c697759f.zip
net: dsa: allow switch drivers to specify phy_device::dev_flags
Some switch drivers (e.g: bcm_sf2) may have to communicate specific workarounds or flags towards the PHY device driver. Allow switches driver to be delegated that task by introducing a get_phy_flags() callback which will do just that. Signed-off-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'drivers/net/dsa/bcm_sf2.c')
0 files changed, 0 insertions, 0 deletions