Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Apr 2014 00:00:05 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r264094 - head/sys/arm/arm
Message-ID:  <201404040000.s34005Di063417@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Fri Apr  4 00:00:05 2014
New Revision: 264094
URL: http://svnweb.freebsd.org/changeset/base/264094

Log:
  Actually save the clock frequency retrieved from fdt data.  I fumbled
  this when I converted getprop to getencprop.
  
  Submitted by:	Thomas Skibo
  Pointy hat to:	ian

Modified:
  head/sys/arm/arm/mpcore_timer.c

Modified: head/sys/arm/arm/mpcore_timer.c
==============================================================================
--- head/sys/arm/arm/mpcore_timer.c	Thu Apr  3 23:22:04 2014	(r264093)
+++ head/sys/arm/arm/mpcore_timer.c	Fri Apr  4 00:00:05 2014	(r264094)
@@ -301,6 +301,7 @@ arm_tmr_attach(device_t dev)
 				    "attribute in FDT\n");
 				return (ENXIO);
 			}
+			sc->clkfreq = clock;
 		}
 	}
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404040000.s34005Di063417>