Thread (1 message) 1 message, 1 author, 2018-03-22

Re: [RFC PATCH] net: phy: Added device tree binding for dev-addr and dev-addr code check-up and usage

From: Andrew Lunn <andrew@lunn.ch>
Date: 2018-03-22 15:43:28

Just to make sure I understand. Do you want me to change the
signature of all of_mdiobus_register_phy(), get_phy_device(),
get_phy_id() and get_phy_c45_ids() and include the dev_addr
parameter obtained from the device tree?  (a propagation of this
parameter across all functions all the way to
get_phy_c45_devs_in_pkg?)
Humm, i thought about this some more...

When calling mdio_read/mdio_write with C45 addresses, we pack both
parts in addr, and mask in MII_ADDR_C45. Try playing with that idea.
It might be less messy.

      Andrew
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help