net: ethernet: xgbe: expand PHY_GBIT_FEAUTRES
authorAndrew Lunn <andrew@lunn.ch>
Sat, 29 Sep 2018 21:04:15 +0000 (23:04 +0200)
committerDavid S. Miller <davem@davemloft.net>
Tue, 2 Oct 2018 05:55:36 +0000 (22:55 -0700)
commitd0939c26c53a2b2cecfbe6953858a58abb0158c7
treec0e5cdf2a41102023c57ed8da7eac3069203cce6
parentf954a04ea18ebfcba1cd2756eaee59eb4978a20e
net: ethernet: xgbe: expand PHY_GBIT_FEAUTRES

The macro PHY_GBIT_FEAUTRES needs to change into a bitmap in order to
support link_modes. Remove its use from xgde by replacing it with its
definition.

Probably, the current behavior is wrong. It probably should be
ANDing not assigning.

Signed-off-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/amd/xgbe/xgbe-phy-v2.c