From: Andrew Lunn <and...@lunn.ch> Date: Sun, 2 Sep 2018 19:06:29 +0200
> phylib currently makes us of a u32 bitmap for advertising, supported, > and link partner capabilities. For a long time, this has been > sufficient, for devices up to 1Gbps. With more MAC/PHY combinations > now supporting speeds greater than 1Gbps, we have run out of > bits. There is the need to replace this u32 with an > __ETHTOOL_DECLARE_LINK_MODE_MASK, which makes use of linux's generic > bitmaps. > > This patchset does some of the work preparing for this change. A few > cleanups are applied to PHY drivers. Some MAC drivers directly access > members of phydev which are going to change type. These patches adds > some helpers and swaps MAC drivers to use them, mostly dealing with > Pause configuration. Andrew, please fix the indentation issue Florian pointed out in patch #8 and finish the other feedback threads which seem to still be in progress. Thanks!