aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/dsa/lan9303.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/linux/dsa/lan9303.h')
-rw-r--r--include/linux/dsa/lan9303.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/linux/dsa/lan9303.h b/include/linux/dsa/lan9303.h
index f48a85c377de..b4f22112ba75 100644
--- a/include/linux/dsa/lan9303.h
+++ b/include/linux/dsa/lan9303.h
@@ -23,9 +23,10 @@ struct lan9303 {
23 struct regmap_irq_chip_data *irq_data; 23 struct regmap_irq_chip_data *irq_data;
24 struct gpio_desc *reset_gpio; 24 struct gpio_desc *reset_gpio;
25 u32 reset_duration; /* in [ms] */ 25 u32 reset_duration; /* in [ms] */
26 bool phy_addr_sel_strap; 26 int phy_addr_base;
27 struct dsa_switch *ds; 27 struct dsa_switch *ds;
28 struct mutex indirect_mutex; /* protect indexed register access */ 28 struct mutex indirect_mutex; /* protect indexed register access */
29 struct mutex alr_mutex; /* protect ALR access */
29 const struct lan9303_phy_ops *ops; 30 const struct lan9303_phy_ops *ops;
30 bool is_bridged; /* true if port 1 and 2 are bridged */ 31 bool is_bridged; /* true if port 1 and 2 are bridged */
31 32