]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
RDMA/nes: Change MDIO bus clock to 2.5MHz
authorTatyana Nikolova <Tatyana.E.Nikolova@intel.com>
Wed, 7 Dec 2011 22:24:06 +0000 (16:24 -0600)
committerRoland Dreier <roland@purestorage.com>
Wed, 4 Jan 2012 17:02:15 +0000 (09:02 -0800)
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>
drivers/infiniband/hw/nes/nes_hw.c

index 7c0ff19ce382d71db8f39e93e7697fdda0f56ce6..6ee570baa60ac45838ba63b375f74217f15da753 100644 (file)
@@ -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);