patch-2.4.20 linux-2.4.20/arch/mips/galileo-boards/ev64120/cntmr.c
Next file: linux-2.4.20/arch/mips/galileo-boards/ev64120/compressed/Makefile
Previous file: linux-2.4.20/arch/mips/defconfig-sead
Back to the patch index
Back to the overall index
- Lines: 36
- Date:
Thu Nov 28 15:53:10 2002
- Orig file:
linux-2.4.19/arch/mips/galileo-boards/ev64120/cntmr.c
- Orig date:
Fri Aug 2 17:39:43 2002
diff -urN linux-2.4.19/arch/mips/galileo-boards/ev64120/cntmr.c linux-2.4.20/arch/mips/galileo-boards/ev64120/cntmr.c
@@ -25,7 +25,7 @@
* cntTmrStart - Starts a counter/timer with given an initiate value.
*
* INPUTS: unsigned int countNum - Selects one of the 8 counters/timers.
-* unsigned int countValue - Initial value for count down.
+* unsigned int countValue - Initial value for count down.
* CNT_TMR_OP_MODES opMode - Set Mode, Counter or Timer.
*
* RETURNS: false if one of the parameters is erroneous, true otherwise.
@@ -63,11 +63,11 @@
}
/********************************************************************
-* cntTmrDisable - Disables the timer/counter operation and return its
+* cntTmrDisable - Disables the timer/counter operation and return its
* value.
*
* INPUTS: unsigned int countNum - Selects one of the 8 counters/timers.
-* RETURNS: The counter/timer value (unsigned int), if any of the arguments are
+* RETURNS: The counter/timer value (unsigned int), if any of the arguments are
* erroneous return 0.
*********************************************************************/
@@ -166,10 +166,10 @@
* or as a timer. (for more details on the different between
* those two modes is written in the Data Sheet).
* NOTE: This function only set the counter/timer mode and
-* don't enable it.
+* don't enable it.
* Be aware: If this function try to load value to an enabled
* counter/timer it terminate with false.
-*
+*
* INPUTS: unsigned int countNum - Selects one of the 8 counters/timers.
* CNT_TMR_OP_MODES opMode - TIMER or COUNTER mode.
* RETURNS: false if one of the parameters is erroneous true otherwise .
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)