Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1411188
| From | Andrew Lunn <andrew@lunn.ch> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | Re: [PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers |
| Date | 2016-06-01 15:10 +0200 |
| Message-ID | <rFe4i-n9-19@gated-at.bofh.it> (permalink) |
| References | <rES3L-3kr-5@gated-at.bofh.it> <rES3L-3kr-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> diff --git a/drivers/of/of_mdio.c b/drivers/of/of_mdio.c > index 8453f08..cf40e7a 100644 > --- a/drivers/of/of_mdio.c > +++ b/drivers/of/of_mdio.c > @@ -225,6 +225,9 @@ int of_mdiobus_register(struct mii_bus *mdio, struct device_node *np) > if (rc) > return rc; > > + if (of_property_read_bool(np, "mdio-integrated-mux")) > + return 0; > + Hi Rather than doing this, did you try setting bus->phy_mask = 0 and calling mdiobus_register(), rather than of_mdiobus_regsiter() for the parent bus? Andrew
Back to linux.kernel | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
[PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers Pramod Kumar <pramod.kumar@broadcom.com> - 2016-05-31 15:40 +0200
Re: [PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers Andrew Lunn <andrew@lunn.ch> - 2016-06-01 15:10 +0200
RE: [PATCH v2 1/7] mdio:mux: Enhanced MDIO mux framework for integrated multiplexers Pramod Kumar <pramod.kumar@broadcom.com> - 2016-06-03 15:50 +0200
csiph-web