aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/infiniband/hw/nes
diff options
context:
space:
mode:
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>2011-12-07 17:24:06 -0500
committerRoland Dreier <roland@purestorage.com>2012-01-04 12:02:15 -0500
commit30b7e117af450850b0fe813e1ee0780934bdcad3 (patch)
tree9f911fce20422a715883856cafb51370c3f28f2b /drivers/infiniband/hw/nes
parent5f0a6e2d503896062f641639dacfe5055c2f593b (diff)
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 <Tatyana.E.Nikolova@intel.com> Signed-off-by: Faisal Latif <Faisal.Latif@intel.com> Signed-off-by: Roland Dreier <roland@purestorage.com>
Diffstat (limited to 'drivers/infiniband/hw/nes')
-rw-r--r--drivers/infiniband/hw/nes/nes_hw.c2
1 files changed, 1 insertions, 1 deletions
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)
1529 } else { 1529 } else {
1530 /* setup 10G MDIO operation */ 1530 /* setup 10G MDIO operation */
1531 tx_config &= 0xFFFFFFE3; 1531 tx_config &= 0xFFFFFFE3;
1532 tx_config |= 0x15; 1532 tx_config |= 0x1D;
1533 } 1533 }
1534 nes_write_indexed(nesdev, NES_IDX_MAC_TX_CONFIG, tx_config); 1534 nes_write_indexed(nesdev, NES_IDX_MAC_TX_CONFIG, tx_config);
1535 1535