summaryrefslogtreecommitdiff
path: root/certs
diff options
context:
space:
mode:
authorRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2021-11-26 17:31:05 +0000
committerRussell King (Oracle) <rmk+kernel@armlinux.org.uk>2022-01-18 10:17:23 +0000
commit98ac55fa2906aa8a4ecf161c2ee1f4052f266941 (patch)
treefea7c479e713542263f5198766470d8515167b24 /certs
parentd27e3e2b10eb25ba1c96177132e8a6e8b8f953af (diff)
net: phylink: validate only used interfaces for c45 PHYs
Some clause 45 PHYs such as Marvell 88X33x0 and Broadcom 84881 switch between a set of interface types depending on the negotiated media speed. We currently validate this kind of PHY using all MAC capabilities, which is not correct if that would give a superset of the ethtool link modes. This commit uses the previously introduced phy possible_interfaces, and the recently introduced supported_interfaces to calculate the union of interface support, and then validates only those interfaces. Signed-off-by: Russell King (Oracle) <rmk+kernel@armlinux.org.uk>
Diffstat (limited to 'certs')
0 files changed, 0 insertions, 0 deletions