[Intel-wired-lan] [PATCH 2/3] net: igb: add phy read/write functions that accept phy addr
Tim Harvey
tharvey at gateworks.com
Mon May 11 15:27:01 UTC 2015
On Fri, May 8, 2015 at 6:07 PM, Alexander Duyck
<alexander.duyck at 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 at 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
More information about the Intel-wired-lan
mailing list