Re: [PATCH net-next 07/12] net: ethernet: Add helper to remove a supported link mode

2018-09-03 Thread Florian Fainelli
On 9/2/2018 10:06 AM, Andrew Lunn wrote: 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 Reviewed-by: Florian Fainelli -- Florian

[PATCH net-next 07/12] net: ethernet: Add helper to remove a supported link mode

2018-09-02 Thread Andrew Lunn
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 --- drivers/net/ethernet/apm/xgene/xgene_enet_hw.c | 6 +++--- drivers/net/ethernet/cadence/macb_main.c