diff options
| author | David S. Miller <davem@davemloft.net> | 2008-09-14 01:04:55 -0400 |
|---|---|---|
| committer | David S. Miller <davem@davemloft.net> | 2008-09-20 00:17:56 -0400 |
| commit | f5f1085720c4799dd1437f78e28e40c8dd557bba (patch) | |
| tree | 8ff072a3fa2d8b293e39fdf9610ddd56093bf972 /arch/sparc/include/asm | |
| parent | 69c010b24560be5ca7667e94a352183e60ed205e (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/asm')
| -rw-r--r-- | arch/sparc/include/asm/timer_32.h | 13 |
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 | |||
| 41 | struct 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 | |||
| 49 | extern struct sun4d_timer_regs *sun4d_timers; | ||
| 50 | |||
| 51 | extern __volatile__ unsigned int *master_l10_counter; | 38 | extern __volatile__ unsigned int *master_l10_counter; |
| 52 | extern __volatile__ unsigned int *master_l10_limit; | 39 | extern __volatile__ unsigned int *master_l10_limit; |
| 53 | 40 | ||
