Skip to contentSkip to conversation

Fix mips_counter_frequency references in docs/comments

PATCH New Samium Gromoff 1 participant 1 message Oct 20, 2006

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Fix mips_counter_frequency references in docs/comments

Hunt down the remains of stale mips_counter_frequency references in docs/comments.

 Documentation/mips/time.README       |    8 ++++----
 arch/mips/mips-boards/generic/time.c |    2 +-
 arch/mips/mips-boards/sim/sim_time.c |    2 +-
 3 files changed, 6 insertions(+), 6 deletions(-)
Documentation/mips/time.README +4 -4
index 69ddc5c..859e58a 100644
@@ -63,7 +63,7 @@ the following functions or values:
   a) board_time_init - a function pointer.  Invoked at the beginnig of
      time_init().  It is optional.
        1. (optional) set up RTC routines
-       2. (optional) calibrate and set the mips_counter_frequency
+       2. (optional) calibrate and set the mips_hpt_frequency
 
   b) plat_timer_setup - a function pointer.  Invoked at the end of time_init()
        1. (optional) over-ride any decisions made in time_init()
@@ -72,7 +72,7 @@ the following functions or values:
 
   c) (optional) board-specific RTC routines.
 
-  d) (optional) mips_counter_frequency - It must be definied if the board
+  d) (optional) mips_hpt_frequency - It must be defined if the board
      is using CPU counter for timer interrupt or it is using fixed rate
      gettimeoffset().
 
@@ -104,7 +104,7 @@ Step 1: decide how you like to implement
      or use an exnternal timer?
 
      In order to use CPU counter register as the timer interrupt source, you
-     must know the counter speed (mips_counter_frequency).  It is usually the
+     must know the counter speed (mips_hpt_frequency).  It is usually the
      same as the CPU speed or an integral divisor of it.
 
   d) decide on whether you want to use high-level or low-level timer
@@ -122,7 +122,7 @@ Step 3: implement rtc routines, board_ti
 
   board_time_init() -
        a) (optional) set up RTC routines,
-        b) (optional) calibrate and set the mips_counter_frequency
+        b) (optional) calibrate and set the mips_hpt_frequency
            (only needed if you intended to use fixed_rate_gettimeoffset
             or use cpu counter as timer interrupt source)
 
arch/mips/mips-boards/generic/time.c +1 -1
index 6f8a9fe..c079e2a 100644
@@ -187,7 +187,7 @@ #endif /* CONFIG_MIPS_MT_SMTC */
 }
 
 /*
- * Estimate CPU frequency.  Sets mips_counter_frequency as a side-effect
+ * Estimate CPU frequency.  Sets mips_hpt_frequency as a side-effect
  */
 static unsigned int __init estimate_cpu_frequency(void)
 {
arch/mips/mips-boards/sim/sim_time.c +1 -1
index c566b9b..24a4ed0 100644
@@ -102,7 +102,7 @@ #endif
 
 
 /*
- * Estimate CPU frequency.  Sets mips_counter_frequency as a side-effect
+ * Estimate CPU frequency.  Sets mips_hpt_frequency as a side-effect
  */
 static unsigned int __init estimate_cpu_frequency(void)
 {