diff options
| author | Andrew Lunn <[email protected]> | 2023-01-18 11:01:40 +0100 |
|---|---|---|
| committer | Paolo Abeni <[email protected]> | 2023-01-19 16:23:19 +0100 |
| commit | da099a7fb13db67678ecfa03f8ac5df8134c991b (patch) | |
| tree | 14d6fe479fb6623cdef8e4f11922adc3b053caf4 /include/linux | |
| parent | fbfe97597c777cca6a91804f3f6ce046acb98860 (diff) | |
net: phy: Remove probe_capabilities
Deciding if to probe of PHYs using C45 is now determine by if the bus
provides the C45 read method. This makes probe_capabilities redundant
so remove it.
Signed-off-by: Andrew Lunn <[email protected]>
Signed-off-by: Michael Walle <[email protected]>
Reviewed-by: Jesse Brandeburg <[email protected]>
Acked-by: Andrew Jeffery <[email protected]>
Signed-off-by: Paolo Abeni <[email protected]>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/phy.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index fceaac0fb319..fbeba4fee8d4 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -419,14 +419,6 @@ struct mii_bus { /** @reset_gpiod: Reset GPIO descriptor pointer */ struct gpio_desc *reset_gpiod; - /** @probe_capabilities: bus capabilities, used for probing */ - enum { - MDIOBUS_NO_CAP = 0, - MDIOBUS_C22, - MDIOBUS_C45, - MDIOBUS_C22_C45, - } probe_capabilities; - /** @shared_lock: protect access to the shared element */ struct mutex shared_lock; |