Date: Thu, 13 Jul 2006 21:45:23 GMT From: Warner Losh <imp@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 101491 for review Message-ID: <200607132145.k6DLjNCh079938@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=101491 Change 101491 by imp@imp_lighthouse on 2006/07/13 21:44:46 Use the right clock rate for TSC board. Affected files ... .. //depot/projects/arm/src/sys/arm/at91/at91_pmc.c#18 edit Differences ... ==== //depot/projects/arm/src/sys/arm/at91/at91_pmc.c#18 (text+ko) ==== @@ -22,6 +22,8 @@ * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ +#include "opt_at91.h" + #include <sys/cdefs.h> __FBSDID("$FreeBSD: src/sys/arm/at91/at91_pmc.c,v 1.2 2006/06/17 23:22:10 imp Exp $"); @@ -397,7 +399,11 @@ pmc_softc->dev = dev; if ((err = at91_pmc_activate(dev)) != 0) return err; +#ifdef AT91_TSC + at91_pmc_init_clock(pmc_softc, 16000000); +#else at91_pmc_init_clock(pmc_softc, 10000000); +#endif return (0); }
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200607132145.k6DLjNCh079938>