]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitb7d7f44869dbb40cd17238e4049659e776b017af
treec0e5cdf2a41102023c57ed8da7eac3069203cce6
parent2acccc455cf0e17145df754018de3654d5233d5b
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