net: phy: aquantia: add USXGMII support and warn if XGMII mode is set
authorHeiner Kallweit <hkallweit1@gmail.com>
Thu, 23 May 2019 18:09:08 +0000 (20:09 +0200)
committerDavid S. Miller <davem@davemloft.net>
Fri, 24 May 2019 20:39:34 +0000 (13:39 -0700)
commitce64c1f77a9d66c3ea86e1ceb444c980ecb03b7d
treeecf2b410af1b236317b81a27774fb3939d2871da
parent79b647a0c0d52a03feb8b39a6311b01bb2bf87a8
net: phy: aquantia: add USXGMII support and warn if XGMII mode is set

So far we didn't support mode USXGMII, and in order to not break few
boards mode XGMII was accepted for the AQR107 family even though it
doesn't support XGMII. Add USXGMII support to the Aquantia PHY driver
and warn if XGMII mode is set.

v2:
- add warning if XGMII mode is set

Signed-off-by: Heiner Kallweit <hkallweit1@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/phy/aquantia_main.c