]> git.dujemihanovic.xyz Git - u-boot.git/commit
drivers/net/phy: introduce phy_set_supported()
authorAlexey Brodkin <Alexey.Brodkin@synopsys.com>
Wed, 13 Jan 2016 13:59:34 +0000 (16:59 +0300)
committerJoe Hershberger <joe.hershberger@ni.com>
Thu, 28 Jan 2016 18:32:42 +0000 (12:32 -0600)
commitb18acb0a115dfbbd31ee53081b514cab6fe2f262
treeaccb00059debddb9b9b63402808b67e5a57d0581
parent4dae610b657fa0c7864cf68d4f44c786ff968c83
drivers/net/phy: introduce phy_set_supported()

This new function will allow MAC drivers to override supported
capabilities of the phy. It is required when MAC cannot handle all
speeds supported by phy.

For example phy supports up-to 1Gb connections while MAC may only work
in modes up to 100 or even 10 Mbit/sec.

Signed-off-by: Alexey Brodkin <abrodkin@synopsys.com>
Cc: Joe Hershberger <joe.hershberger@ni.com>
Acked-by: Joe Hershberger <joe.hershberger@ni.com>
drivers/net/phy/phy.c
include/phy.h