]> git.baikalelectronics.ru Git - kernel.git/commit
net: stmmac: allow stmmac to probe for C45 PHY devices
authorWong Vee Khee <vee.khee.wong@intel.com>
Wed, 9 Dec 2020 22:47:00 +0000 (06:47 +0800)
committerDavid S. Miller <davem@davemloft.net>
Thu, 10 Dec 2020 03:40:09 +0000 (19:40 -0800)
commit9be50df4c67563fa02d0e080995cb64cc14bc9a4
tree962bc8031f3632665f45e80a5df7ee95633f376c
parent2cce6ed51f1d9fb9ca15c0137f2726c01cd517dc
net: stmmac: allow stmmac to probe for C45 PHY devices

Assign stmmac's mdio_bus probe capabilities to MDIOBUS_C22_C45.
This extended the probing of C45 PHY devices on the MDIO bus.

Signed-off-by: Wong Vee Khee <vee.khee.wong@intel.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/net/ethernet/stmicro/stmmac/stmmac_mdio.c