From: Alexander Duyck <alexander.duyck@gmail.com>
To: intel-wired-lan@osuosl.org
Subject: [Intel-wired-lan] [PATCH 2/3] net: igb: add phy read/write functions that accept phy addr
Date: Mon, 11 May 2015 08:46:30 -0700 [thread overview]
Message-ID: <5550CED6.2000003@gmail.com> (raw)
In-Reply-To: <CAJ+vNU0a6tLspiJC7_-yenfCjiexrmJaH91_M+wH+6UJ0Z+NKg@mail.gmail.com>
On 05/11/2015 08:27 AM, Tim Harvey wrote:
> On Fri, May 8, 2015 at 6:07 PM, Alexander Duyck
> <alexander.duyck@gmail.com> wrote:
>> On 04/30/2015 11:19 AM, Tim Harvey wrote:
>>> Add igb_write_reg_gs40g/igb_read_reg_gs40g that can be passed a phy
>>> address.
>>> The existing igb_write_phy_reg_gs40g/igb_read_phy_reg_gs40g become
>>> wrappers
>>> to this function.
>>>
>>> Signed-off-by: Tim Harvey <tharvey@gateworks.com>
>>
>> I'm pretty sure this isn't useful as well. You really should not be doing
>> any phy address/MDICNFG manipulation in these calls.
> Alexander,
>
> This patch is to support phylib which requires mdio functions that can
> pass a phy address rather than take it from the e1000_phy_info
> structure.
>
> Tim
Tim,
You only require PHY address support if you support multiple addresses.
From what I can tell you don't. You lock it down to only one address
via the mask field when you are initializing the phylib structures.
- Alex
next prev parent reply other threads:[~2015-05-11 15:46 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-04-30 18:19 [Intel-wired-lan] [PATCH 0/3] igb: add i210/i211 external phy support Tim Harvey
2015-04-30 18:19 ` [Intel-wired-lan] [PATCH 1/3] net: igb: add i210/i211 support for phy read/write Tim Harvey
2015-05-09 1:06 ` Alexander Duyck
2015-05-11 15:26 ` Tim Harvey
2015-05-11 15:45 ` Alexander Duyck
2015-04-30 18:19 ` [Intel-wired-lan] [PATCH 2/3] net: igb: add phy read/write functions that accept phy addr Tim Harvey
2015-05-09 1:07 ` Alexander Duyck
2015-05-11 15:27 ` Tim Harvey
2015-05-11 15:46 ` Alexander Duyck [this message]
2015-04-30 18:19 ` [Intel-wired-lan] [PATCH 3/3] net: igb: register mii_bus for SerDes w/ external phy Tim Harvey
2015-05-09 1:05 ` Alexander Duyck
2015-05-11 18:42 ` Tim Harvey
2015-05-11 20:44 ` Alexander Duyck
2015-05-12 22:37 ` Tim Harvey
2015-05-13 6:16 ` Alexander Duyck
2015-05-15 4:08 ` Jonathan Toppins
2015-05-20 15:46 ` Tim Harvey
2015-05-29 15:26 ` Jonathan Toppins
2015-06-05 15:08 ` Tim Harvey
2015-05-05 2:00 ` [Intel-wired-lan] [PATCH 0/3] igb: add i210/i211 external phy support Jeff Kirsher
2015-05-07 16:40 ` Tim Harvey
2015-05-07 16:57 ` Jeff Kirsher
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=5550CED6.2000003@gmail.com \
--to=alexander.duyck@gmail.com \
--cc=intel-wired-lan@osuosl.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.