net: ag71xx: extend link validation to support other SoCs
authorOleksij Rempel <o.rempel@pengutronix.de>
Fri, 24 Apr 2020 04:59:14 +0000 (06:59 +0200)
committerDavid S. Miller <davem@davemloft.net>
Mon, 27 Apr 2020 17:09:21 +0000 (10:09 -0700)
commit0767ec04289757c0edc2322957ba51d97446eaa4
treeb74738a32d65a7e62149b1af8bdfa7a3818970a5
parent3fd8dc269ff0647819589c21b2ce60af6fc0a455
net: ag71xx: extend link validation to support other SoCs

Most (all?) QCA SoCs have two MAC with different supported link
capabilities. Extend ag71xx_mac_validate() to properly validate this
variants.

Signed-off-by: Oleksij Rempel <o.rempel@pengutronix.de>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/atheros/ag71xx.c