From: Tatyana Nikolova Date: Wed, 7 Dec 2011 22:24:06 +0000 (-0600) Subject: RDMA/nes: Change MDIO bus clock to 2.5MHz X-Git-Tag: v4.14-rc1~13044^2^4~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30b7e117af450850b0fe813e1ee0780934bdcad3;p=platform%2Fkernel%2Flinux-rpi.git RDMA/nes: Change MDIO bus clock to 2.5MHz Change the PHY clock divisor to make the MDIO clock 2.5MHz, instead of 3.5MHz (which is out of spec). Signed-off-by: Tatyana Nikolova Signed-off-by: Faisal Latif Signed-off-by: Roland Dreier --- diff --git a/drivers/infiniband/hw/nes/nes_hw.c b/drivers/infiniband/hw/nes/nes_hw.c index 7c0ff19ce382..6ee570baa60a 100644 --- a/drivers/infiniband/hw/nes/nes_hw.c +++ b/drivers/infiniband/hw/nes/nes_hw.c @@ -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);