]> git.baikalelectronics.ru Git - kernel.git/commit
net: phy: add phy_ethtool_{get|set}_link_ksettings
authorPhilippe Reynes <tremyfr@gmail.com>
Mon, 9 May 2016 22:19:41 +0000 (00:19 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 10 May 2016 19:06:19 +0000 (15:06 -0400)
commitc31e7224c7e2d17e065c8e4fe789bf984699f763
treee9f29fd7fc1c0837c79cc1704a157e77a59863a3
parent1511c455c48796e1740ae9b47e65f591aef43153
net: phy: add phy_ethtool_{get|set}_link_ksettings

Ethtool callbacks {get|set}_link_ksettings are often the same, so
we add two generics functions phy_ethtool_{get|set}_link_ksettings
to avoid writing severals times the same function.

Signed-off-by: Philippe Reynes <tremyfr@gmail.com>
Acked-By: David Decotigny <decot@googlers.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/phy.c
include/linux/phy.h