]> git.baikalelectronics.ru Git - kernel.git/commit
net: phylib: add link_change_notify callback to phy device
authorDaniel Mack <zonque@gmail.com>
Wed, 18 Jun 2014 09:01:41 +0000 (11:01 +0200)
committerDavid S. Miller <davem@davemloft.net>
Sat, 21 Jun 2014 22:50:00 +0000 (15:50 -0700)
commitc6dc15172458d0347ff72ec3913c299a5dfef0c6
treef7115b72a1f524f7edfaf75b0d60146a104dd2bf
parent36c188910aacb415f505c6abcad1ce14ce1f7942
net: phylib: add link_change_notify callback to phy device

Add a notify callback to inform phy drivers when the core is about to
do its link adjustment. No change for drivers that do not implement
this callback.

Signed-off-by: Daniel Mack <zonque@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h