net: stmmac: XGMAC support for mdio C22 addr > 3
authorRohan G Thomas <rohan.g.thomas@intel.com>
Mon, 31 Jul 2023 11:50:41 +0000 (19:50 +0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 2 Aug 2023 08:15:13 +0000 (09:15 +0100)
commit10857e6779054f79a7569eaaaa85dfa71b73acc1
tree53924ad338abb4ec6b0f5e3ece94b8b8ae89a68c
parent653a18c7d50a72a97d891b74891fb8f0c59451e1
net: stmmac: XGMAC support for mdio C22 addr > 3

For XGMAC versions < 2.2 number of supported mdio C22 addresses is
restricted to 3. From XGMAC version 2.2 there are no restrictions on
the C22 addresses, it supports all valid mdio addresses(0 to 31).

Signed-off-by: Rohan G Thomas <rohan.g.thomas@intel.com>
Acked-by: Jose Abreu <Jose.Abreu@synopsys.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/common.h
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c