: sparc32: Use PROM infrastructure for probing and
David Miller
maintainerPATCH 2/13 : sparc32: Use PROM infrastructure for probing and
sparc32: Use PROM infrastructure for probing and mapping sun4d timers.
Signed-off-by David S. Miller <[email protected]>
--- arch/sparc/include/asm/timer_32.h | 13 ---- arch/sparc/kernel/sun4d_irq.c | 139 ++++++++++++++++++++++--------------- 2 files changed, 83 insertions(+), 69 deletions(-)
arch/sparc/include/asm/timer_32.h +0 -13
@@ -35,19 +35,6 @@ struct sun4c_timer_info {#define SUN_TIMER_PHYSADDR 0xf3000000 -#define SUN4D_PRM_CNT_L 0x80000000 -#define SUN4D_PRM_CNT_LVALUE 0x7FFFFC00 - -struct sun4d_timer_regs { -volatile unsigned int l10_timer_limit; -volatile unsigned int l10_cur_countx; -volatile unsigned int l10_limit_noclear; -volatile unsigned int ctrl; -volatile unsigned int l10_cur_count; -}; - -extern struct sun4d_timer_regs *sun4d_timers; - extern __volatile__ unsigned int *master_l10_counter; extern __volatile__ unsigned int *master_l10_limit;
arch/sparc/kernel/sun4d_irq.c +83 -56
169 lines not on this page · raw message
Signature · 1 line
1.5.6.5