commit | e476bb217c31d6f3dfa08ebd99f48a5e2bc6a06e | [log] [tgz] |
---|---|---|
author | Alexey Brodkin <Alexey.Brodkin@synopsys.com> | Wed Jan 13 16:59:34 2016 +0300 |
committer | Joe Hershberger <joe.hershberger@ni.com> | Thu Jan 28 12:32:42 2016 -0600 |
tree | accb00059debddb9b9b63402808b67e5a57d0581 | |
parent | 33bbc24f33f73e8bc3af472d519297607ea66577 [diff] |
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>