diff options
author | Andrew Lunn <andrew@lunn.ch> | 2023-01-18 11:01:40 +0100 |
---|---|---|
committer | Paolo Abeni <pabeni@redhat.com> | 2023-01-19 16:23:19 +0100 |
commit | da099a7fb13db67678ecfa03f8ac5df8134c991b (patch) | |
tree | 14d6fe479fb6623cdef8e4f11922adc3b053caf4 /include/linux/phy.h | |
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 <andrew@lunn.ch>
Signed-off-by: Michael Walle <michael@walle.cc>
Reviewed-by: Jesse Brandeburg <jesse.brandeburg@intel.com>
Acked-by: Andrew Jeffery <andrew@aj.id.au>
Signed-off-by: Paolo Abeni <pabeni@redhat.com>
Diffstat (limited to 'include/linux/phy.h')
-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; |