diff options
| author | 2020-06-23 20:35:15 -0700 | |
|---|---|---|
| committer | 2020-06-23 20:35:15 -0700 | |
| commit | b5b2382238d1b926752a74b5ee2d418d57b823d4 (patch) | |
| tree | 02a7bfefc78a53f46621b886bf2216c6ac675201 /include/linux | |
| parent | Merge branch 'ethernet-dec-tulip-use-generic-power-management' (diff) | |
| parent | net/fsl: enable extended scanning in xgmac_mdio (diff) | |
Merge branch 'ACPI-support-for-xgmac_mdio-drivers'
Calvin Johnson says:
====================
ACPI support for xgmac_mdio drivers.
This patch series provides ACPI support for xgmac_mdio driver.
Changes in v3:
- handle case MDIOBUS_NO_CAP
Changes in v2:
- Reserve "0" to mean that no mdiobus capabilities have been declared.
- bus->id: change to appropriate printk format specifier
- clean up xgmac_acpi_match
- clariy platform_get_resource() usage with comments
====================
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/phy.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/linux/phy.h b/include/linux/phy.h index 9248dd2ce4ca..7860d56c6bf5 100644 --- a/include/linux/phy.h +++ b/include/linux/phy.h @@ -298,6 +298,14 @@ struct mii_bus { /* RESET GPIO descriptor pointer */ struct gpio_desc *reset_gpiod; + /* bus capabilities, used for probing */ + enum { + MDIOBUS_NO_CAP = 0, + MDIOBUS_C22, + MDIOBUS_C45, + MDIOBUS_C22_C45, + } probe_capabilities; + /* protect access to the shared element */ struct mutex shared_lock; |
