X-Git-Url: https://bbs.cooldavid.org/git/?p=net-next-2.6.git;a=blobdiff_plain;f=drivers%2Fnet%2Ftg3.c;h=3e893231fef32c2266ae7ec4c9b9982cbd9aef97;hp=a0ab89eb8bcc3fc52d352244cb91120e38995fe6;hb=a977dbe8445b8a81d6127c4aa9112a2c29a1a008;hpb=1a3190254c0d1d1951e1d7e93542387c6ec82384 diff --git a/drivers/net/tg3.c b/drivers/net/tg3.c index a0ab89eb8bc..3e893231fef 100644 --- a/drivers/net/tg3.c +++ b/drivers/net/tg3.c @@ -7654,6 +7654,11 @@ static int tg3_reset_hw(struct tg3 *tp, int reset_phy) val | TG3_PCIE_PL_LO_PHYCTL5_DIS_L2CLKREQ); tw32(GRC_MODE, grc_mode); + + val = tr32(TG3_CPMU_LSPD_10MB_CLK); + val &= ~CPMU_LSPD_10MB_MACCLK_MASK; + val |= CPMU_LSPD_10MB_MACCLK_6_25; + tw32(TG3_CPMU_LSPD_10MB_CLK, val); } /* This works around an issue with Athlon chipsets on