Skip to content
Snippets Groups Projects
Commit 9fd35176 authored by Andrew Cooks's avatar Andrew Cooks
Browse files

revert removal of __ETHTOOL_LINK_MODE_LAST macro

Since Linux 5.0 the __ETHTOOL_LINK_MODE_LAST macro is no longer available.
commit e728fdf06289 ("net: phy: improve definition of __ETHTOOL_LINK_MODE_MASK_NBITS")
replaced it with __ETHTOOL_LINK_MODE_MASK_NBITS.

In v0.3.6.17.2 the vendor driver replaced __ETHTOOL_LINK_MODE_LAST+1
with 0xFFFFFFFF. This reverts that, because we want to use the proper
solution that upstream drivers use, namely
__ETHTOOL_LINK_MODE_MASK_NBITS.
parent 806a1a62
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment