summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2020-06-24 06:35:15 +0300
committerDavid S. Miller <davem@davemloft.net>2020-06-24 06:35:15 +0300
commitb5b2382238d1b926752a74b5ee2d418d57b823d4 (patch)
tree02a7bfefc78a53f46621b886bf2216c6ac675201 /include/linux
parent1c59bb6bcbe88aff1527e8eae396d5d5a706e659 (diff)
parent0f183fd151c8c7e215385edfbdc5112d743434dc (diff)
downloadlinux-b5b2382238d1b926752a74b5ee2d418d57b823d4.tar.xz
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.h8
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;