]> git.baikalelectronics.ru Git - kernel.git/commit
net: dsa: allow drivers to do link adjustment
authorFlorian Fainelli <f.fainelli@gmail.com>
Thu, 28 Aug 2014 00:04:53 +0000 (17:04 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 28 Aug 2014 05:59:40 +0000 (22:59 -0700)
commit11269229b29c7a2a4272b005bb5e0c3395f0373f
tree928b1885d12a73c353a6a7f1047d3790a3ee5ad6
parenta6ca7599958c2f3aaccfbc7fcaf2c04a72056fc9
net: dsa: allow drivers to do link adjustment

Whenever libphy determines that the link status of a given PHY/port has
changed, allow to call into the switch driver link adjustment callback
so proper actions can be taken care of by the switch driver upon link
notification.

Signed-off-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
include/net/dsa.h
net/dsa/slave.c