Change phy SFP+ clock divisor

Signed-off-by: Tatyana Nikolova <[email protected]>
Signed-off-by: Faisal Latif <[email protected]>
---
 kernel_patches/fixes/nes_0066_phy_clk_div.patch |   16 ++++++++++++++++
 1 files changed, 16 insertions(+), 0 deletions(-)
 create mode 100644 kernel_patches/fixes/nes_0066_phy_clk_div.patch

diff --git a/kernel_patches/fixes/nes_0066_phy_clk_div.patch 
b/kernel_patches/fixes/nes_0066_phy_clk_div.patch
new file mode 100644
index 0000000..aaa2627
--- /dev/null
+++ b/kernel_patches/fixes/nes_0066_phy_clk_div.patch
@@ -0,0 +1,16 @@
+diff --git a/drivers/infiniband/hw/nes/nes_hw.c 
b/drivers/infiniband/hw/nes/nes_hw.c
+index 2398c2d..66bda69 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);
+
+--
+1.7.1
+
-- 
1.7.1

_______________________________________________
ewg mailing list
[email protected]
http://lists.openfabrics.org/cgi-bin/mailman/listinfo/ewg

Reply via email to