Thread (9 messages) 9 messages, 3 authors, 2019-09-04

Re: [PATCH 2/2] net: gmii2rgmii: Switch priv field in mdio device structure

From: Andrew Lunn <andrew@lunn.ch>
Date: 2019-08-01 04:06:55
Also in: lkml, netdev

On Wed, Jul 31, 2019 at 03:06:19PM +0530, Harini Katakam wrote:
Use the priv field in mdio device structure instead of the one in
phy device structure. The phy device priv field may be used by the
external phy driver and should not be overwritten.
Hi Harini

I _think_ you could use dev_set_drvdata(&mdiodev->dev) in xgmiitorgmii_probe() and
dev_get_drvdata(&phydev->mdiomdio.dev) in _read_status()

       Andrew

_______________________________________________
linux-arm-kernel mailing list
linux-arm-kernel@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/linux-arm-kernel
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help