[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-Id: <20100613.175226.104061309.davem@davemloft.net>
Date: Sun, 13 Jun 2010 17:52:26 -0700 (PDT)
From: David Miller <davem@...emloft.net>
To: ole@....pl
Cc: yanivr@...adcom.com, netdev@...r.kernel.org
Subject: Re: [net-next PATCH] bnx2x: Fix link problem with some DACs
From: Krzysztof Olędzki <ole@....pl>
Date: Sun, 13 Jun 2010 23:27:55 +0200
> On 2010-06-13 13:43, Yaniv Rosner wrote:
>> Change 2wire transfer rate of SFP+ module EEPROM from 400Khz to 100Khz
>> since some DACs(direct attached cables) do not work at 400Khz.
>>
>> Reported-by: Krzysztof Oldzki <ole@....pl>
>> Signed-off-by: Yaniv Rosner <yanivr@...adcom.com>
>> Signed-off-by: Eilon Greenstein <eilong@...adcom.com>
>> ---
>> diff --git a/drivers/net/bnx2x_link.c b/drivers/net/bnx2x_link.c
>> index a22a7e0..9b15b64 100644
>> --- a/drivers/net/bnx2x_link.c
>> +++ b/drivers/net/bnx2x_link.c
>> @@ -4274,7 +4274,7 @@ static u8 bnx2x_ext_phy_init(struct link_params
>> *params, struct link_vars *vars)
>> ext_phy_addr,
>> MDIO_PMA_DEVAD,
>> MDIO_PMA_REG_8727_TWO_WIRE_SLAVE_ADDR,
>> - 0xa001);
>> + 0xa101);
>>
>> /* Set TX PreEmphasis if needed */
>> if ((params->feature_config_flags&
>
> Tested-by: Krzysztof Piotr Oledzki <ole@....pl>
>
> However, I believe the comment before this code should also be
> changed, because it is now: "Set 2-wire transfer rate to 400Khz since
> 100Khz
> is not operational ".
Agreed, Yaniv please update your patch.
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists