mirror of
https://github.com/edk2-porting/linux-next.git
synced 2025-01-19 02:54:00 +08:00
mdio-gpio: Propagate mii_bus.phy_ignore_ta_mask
This also changes mii_bus.phy_mask to u32 for consistency. Signed-off-by: Bert Vermeulen <bert@biot.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
a4afd37b26
commit
ef7f3a5c71
@ -158,6 +158,7 @@ static struct mii_bus *mdio_gpio_bus_init(struct device *dev,
|
||||
new_bus->name = "GPIO Bitbanged MDIO",
|
||||
|
||||
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->parent = dev;
|
||||
|
||||
|
@ -23,7 +23,8 @@ struct mdio_gpio_platform_data {
|
||||
bool mdio_active_low;
|
||||
bool mdo_active_low;
|
||||
|
||||
unsigned int phy_mask;
|
||||
u32 phy_mask;
|
||||
u32 phy_ignore_ta_mask;
|
||||
int irqs[PHY_MAX_ADDR];
|
||||
/* reset callback */
|
||||
int (*reset)(struct mii_bus *bus);
|
||||
|
Loading…
Reference in New Issue
Block a user