commit | 41124fa64d4b298b82266b7ddbefc43540b77b44 | [log] [tgz] |
---|---|---|
author | Andrew Lunn <andrew@lunn.ch> | Wed Sep 12 01:53:14 2018 +0200 |
committer | David S. Miller <davem@davemloft.net> | Wed Sep 12 20:24:21 2018 -0700 |
tree | 6674297c9ee35f311f290299bb5d3151fe46d85c | |
parent | 04b7d41d8046ded18fa32d9c7cb524ba28947188 [diff] |
net: ethernet: Add helper to remove a supported link mode Some MAC hardware cannot support a subset of link modes. e.g. often 1Gbps Full duplex is supported, but Half duplex is not. Add a helper to remove such a link mode. Signed-off-by: Andrew Lunn <andrew@lunn.ch> Reviewed-by: Florian Fainelli <f.fainelli@gmail.com> Signed-off-by: David S. Miller <davem@davemloft.net>