patch-2.4.22 linux-2.4.22/include/asm-mips/galileo-boards/evb64120A/cntmr.h

Next file: linux-2.4.22/include/asm-mips/galileo-boards/evb64120A/core.h
Previous file: linux-2.4.22/include/asm-mips/galileo-boards/ev96100.h
Back to the patch index
Back to the overall index

diff -urN linux-2.4.21/include/asm-mips/galileo-boards/evb64120A/cntmr.h linux-2.4.22/include/asm-mips/galileo-boards/evb64120A/cntmr.h
@@ -1,42 +0,0 @@
-/* cntmr.h - Timer/Counter interface header file */
-
-/* Copyright - Galileo technology */
-
-#ifndef __INCtimerCounterDrvh
-#define __INCtimerCounterDrvh
-
-/* includes */
-
-#include "core.h"
-
-/* defines */
-
-#define FIRST_CNTMR   0
-#define LAST_CNTMR    3
-
-#define CNTMR0_READ(pData)\
-        GT_REG_READ(CNTMR0, pData)
-
-#define CNTMR1_READ(pData)\
-        GT_REG_READ(CNTMR1, pData)
-
-#define CNTMR2_READ(pData)\
-        GT_REG_READ(CNTMR2, pData)
-
-#define CNTMR3_READ(pData)\
-        GT_REG_READ(CNTMR3, pData)
-
-/* typedefs */
-
-typedef enum counterTimer{CNTMR_0,CNTMR_1,CNTMR_2,CNTMR_3} CNTMR_NUM;
-typedef enum cntTmrOpModes{COUNTER, TIMER} CNT_TMR_OP_MODES;
-
-bool    cntTmrLoad(unsigned int countNum, unsigned int value);
-bool    cntTmrSetMode(CNTMR_NUM countNum, CNT_TMR_OP_MODES opMode);
-bool    cntTmrEnable(CNTMR_NUM countNum);
-bool    cntTmrStart (CNTMR_NUM countNum,unsigned int countValue,
-                   CNT_TMR_OP_MODES opMode);
-unsigned int    cntTmrDisable(CNTMR_NUM countNum);
-unsigned int    cntTmrRead(CNTMR_NUM countNum);
-
-#endif /* __INCtimerCounterDrvh */

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)