]> 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)
commitc18f212974d619844656ee086ebdf646d46f9774
treef7115b72a1f524f7edfaf75b0d60146a104dd2bf
parent5fa4f19514fddfa61087d69294c1ab4d8c7ffa67
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