Commit ef7f3a5c authored by Bert Vermeulen's avatar Bert Vermeulen Committed by David S. Miller

mdio-gpio: Propagate mii_bus.phy_ignore_ta_mask

This also changes mii_bus.phy_mask to u32 for consistency.
Signed-off-by: default avatarBert Vermeulen <bert@biot.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent a4afd37b
...@@ -158,6 +158,7 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev, ...@@ -158,6 +158,7 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev,
new_bus->name = "GPIO Bitbanged MDIO", new_bus->name = "GPIO Bitbanged MDIO",
new_bus->phy_mask = pdata->phy_mask; new_bus->phy_mask = pdata->phy_mask;
new_bus->phy_ignore_ta_mask = pdata->phy_ignore_ta_mask;
new_bus->irq = pdata->irqs; new_bus->irq = pdata->irqs;
new_bus->parent = dev; new_bus->parent = dev;
......
...@@ -23,7 +23,8 @@ struct mdio_gpio_platform_data { ...@@ -23,7 +23,8 @@ struct mdio_gpio_platform_data {
bool mdio_active_low; bool mdio_active_low;
bool mdo_active_low; bool mdo_active_low;
unsigned int phy_mask; u32 phy_mask;
u32 phy_ignore_ta_mask;
int irqs[PHY_MAX_ADDR]; int irqs[PHY_MAX_ADDR];
/* reset callback */ /* reset callback */
int (*reset)(struct mii_bus *bus); int (*reset)(struct mii_bus *bus);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment