From: Andrew Lunn <andrew@lunn•ch>
To: Harini Katakam <harini.katakam@xilinx•com>
Cc: f.fainelli@gmail•com, netdev@vger•kernel.org,
radhey.shyam.pandey@xilinx•com, michal.simek@xilinx•com,
harinikatakamlinux@gmail•com, linux-kernel@vger•kernel.org,
davem@davemloft•net, linux-arm-kernel@lists•infradead.org,
hkallweit1@gmail•com
Subject: Re: [PATCH 2/2] net: gmii2rgmii: Switch priv field in mdio device structure
Date: Thu, 1 Aug 2019 06:06:48 +0200 [thread overview]
Message-ID: <20190801040648.GJ2713@lunn.ch> (raw)
In-Reply-To: <1564565779-29537-3-git-send-email-harini.katakam@xilinx.com>
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
next prev parent reply other threads:[~2019-08-01 4:07 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2019-07-31 9:36 [PATCH 0/2] Fix GMII2RGMII private field Harini Katakam
2019-07-31 9:36 ` [PATCH 1/2] include: mdio: Add private field to mdio structure Harini Katakam
2019-07-31 9:36 ` [PATCH 2/2] net: gmii2rgmii: Switch priv field in mdio device structure Harini Katakam
2019-08-01 4:06 ` Andrew Lunn [this message]
2019-08-13 11:16 ` Harini Katakam
2019-08-13 13:23 ` Andrew Lunn
2019-08-13 15:13 ` Harini Katakam
2019-08-13 15:38 ` Andrew Lunn
2019-09-04 14:11 ` Harini Katakam
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20190801040648.GJ2713@lunn.ch \
--to=andrew@lunn$(echo .)ch \
--cc=davem@davemloft$(echo .)net \
--cc=f.fainelli@gmail$(echo .)com \
--cc=harini.katakam@xilinx$(echo .)com \
--cc=harinikatakamlinux@gmail$(echo .)com \
--cc=hkallweit1@gmail$(echo .)com \
--cc=linux-arm-kernel@lists$(echo .)infradead.org \
--cc=linux-kernel@vger$(echo .)kernel.org \
--cc=michal.simek@xilinx$(echo .)com \
--cc=netdev@vger$(echo .)kernel.org \
--cc=radhey.shyam.pandey@xilinx$(echo .)com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox