Gitweb: http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=9dc7f30e3bac329998a2a9bb814bd0abc7cb58e2 Commit: 9dc7f30e3bac329998a2a9bb814bd0abc7cb58e2 Parent: 6e01d1a4b2f7110201e7fe16e561a721d76fab3e Author: Bryan Wu <[EMAIL PROTECTED]> AuthorDate: Wed Jan 30 16:52:28 2008 +0800 Committer: David S. Miller <[EMAIL PROTECTED]> CommitDate: Sun Feb 3 04:28:51 2008 -0800
EMAC driver: Fix bug: The clock divisor is set to all ones at reset. Signed-off-by: Kalle Pokki <[EMAIL PROTECTED]> Signed-off-by: Bryan Wu <[EMAIL PROTECTED]> Signed-off-by: Jeff Garzik <[EMAIL PROTECTED]> Signed-off-by: David S. Miller <[EMAIL PROTECTED]> --- drivers/net/bfin_mac.c | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/drivers/net/bfin_mac.c b/drivers/net/bfin_mac.c index 0a17fb4..c993a32 100644 --- a/drivers/net/bfin_mac.c +++ b/drivers/net/bfin_mac.c @@ -408,7 +408,7 @@ static int mii_probe(struct net_device *dev) mdc_div = ((sclk / MDC_CLK) / 2) - 1; sysctl = bfin_read_EMAC_SYSCTL(); - sysctl |= SET_MDCDIV(mdc_div); + sysctl = (sysctl & ~MDCDIV) | SET_MDCDIV(mdc_div); bfin_write_EMAC_SYSCTL(sysctl); /* search for connect PHY device */ - To unsubscribe from this list: send the line "unsubscribe git-commits-head" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html