RDMA/nes: Change for phy clock divisor
PATCH 1/1 RDMA/nes: Change for phy clock divisor
Change the MDIO bus clock to frequency 2.5MHz
--- drivers/infiniband/hw/nes/nes_hw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/nes/nes_hw.c +1 -1
@@ -1529,7 +1529,7 @@ int nes_init_phy(struct nes_device *nesdev) }else {/* setup 10G MDIO operation */ tx_config &=0xFFFFFFE3 ; - tx_config |=0x15 ; + tx_config |=0x1D ; }nes_write_indexed (nesdev,NES_IDX_MAC_TX_CONFIG , tx_config);
Signature · 6 lines
1.7.1 -- To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Tatyana Nikolova
Change the MDIO bus clock to frequency 2.5MHz
Any comment on why you want to change the bus clock?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
In the patch we modify a register, which controls the divisor of the core clock for the MDIO bus clock (MDC). The maximum standard value of the MDC is 2.5MHz, currently it is set to 3.5MHz.
We want to comply to the spec.
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Roland Dreier
Subject: Re: [PATCH] RDMA/nes: Change for phy clock divisor
Quoted 1 line · <[email protected]> wrote:
Change the MDIO bus clock to frequency 2.5MHz
Any comment on why you want to change the bus clock?
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Hello Roland,
Quoted 1 line · <[email protected]> wrote:
Any comment on why you want to change the bus clock?
By mistake I had sent the response to your question using your old email @kernel.org and you probably never got it.
In this patch, the clock divisor is increased, so that MDIO bus clock frequency is reduced from 3.5MHz to 2.5MHz. In this way, it complies with the standard maximum clock frequency 2.5MHz, defined in MDIO specs.
I have submitted a few more patches after this one. Could you please review and apply them?
Thank you.
Tatyana
-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Roland Dreier
Sent: Wednesday, December 07, 2011 5:20 PM
To: Nikolova, Tatyana E
Cc: [email protected]
Subject: Re: [PATCH] RDMA/nes: Change for phy clock divisor
Quoted 1 line · <[email protected]> wrote:
Change the MDIO bus clock to frequency 2.5MHz
Any comment on why you want to change the bus clock?
------------------------------------------------------------------
On Wed, Dec 7, 2011 at 2:24 PM, Tatyana Nikolova <[email protected]> wrote:
Change the MDIO bus clock to frequency 2.5MHz
--- drivers/infiniband/hw/nes/nes_hw.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
drivers/infiniband/hw/nes/nes_hw.c +1 -1
@@ -1529,7 +1529,7 @@ int nes_init_phy(struct nes_device *nesdev) }else {/* setup 10G MDIO operation */ tx_config &=0xFFFFFFE3 ; - tx_config |=0x15 ; + tx_config |=0x1D ; }nes_write_indexed (nesdev,NES_IDX_MAC_TX_CONFIG , tx_config);
--
1.7.1
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 1 line · Tatyana E
By mistake I had sent the response to your question using your old email @kernel.org and you probably never got it.
[email protected] is not old and still works fine. It's probably the best address
for open source stuff.
Quoted 1 line
I have submitted a few more patches after this one. Could you please review and apply them?
yes, I will get to them.
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html