aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sparc/include
diff options
context:
space:
mode:
authorDavid S. Miller <davem@davemloft.net>2008-09-14 01:04:55 -0400
committerDavid S. Miller <davem@davemloft.net>2008-09-20 00:17:56 -0400
commitf5f1085720c4799dd1437f78e28e40c8dd557bba (patch)
tree8ff072a3fa2d8b293e39fdf9610ddd56093bf972 /arch/sparc/include
parent69c010b24560be5ca7667e94a352183e60ed205e (diff)
sparc32: Use PROM infrastructure for probing and mapping sun4d timers.
Signed-off-by: David S. Miller <davem@davemloft.net>
Diffstat (limited to 'arch/sparc/include')
-rw-r--r--arch/sparc/include/asm/timer_32.h13
1 files changed, 0 insertions, 13 deletions
diff --git a/arch/sparc/include/asm/timer_32.h b/arch/sparc/include/asm/timer_32.h
index 8906e987ef82..860a05ef4561 100644
--- a/arch/sparc/include/asm/timer_32.h
+++ b/arch/sparc/include/asm/timer_32.h
@@ -35,19 +35,6 @@ struct sun4c_timer_info {
35 35
36#define SUN_TIMER_PHYSADDR 0xf3000000 36#define SUN_TIMER_PHYSADDR 0xf3000000
37 37
38#define SUN4D_PRM_CNT_L 0x80000000
39#define SUN4D_PRM_CNT_LVALUE 0x7FFFFC00
40
41struct sun4d_timer_regs {
42 volatile unsigned int l10_timer_limit;
43 volatile unsigned int l10_cur_countx;
44 volatile unsigned int l10_limit_noclear;
45 volatile unsigned int ctrl;
46 volatile unsigned int l10_cur_count;
47};
48
49extern struct sun4d_timer_regs *sun4d_timers;
50
51extern __volatile__ unsigned int *master_l10_counter; 38extern __volatile__ unsigned int *master_l10_counter;
52extern __volatile__ unsigned int *master_l10_limit; 39extern __volatile__ unsigned int *master_l10_limit;
53 40