Skip to contentSkip to conversation

: sparc32: Use PROM infrastructure for probing and

PATCH New David Miller 1 participant 1 message Sep 19, 2008 SPARC + UltraSPARC (sparc/sparc64)

lore
Share & tools
lore

David Miller

author maintainer
#0 lore raw

PATCH 2/13 : sparc32: Use PROM infrastructure for probing and

sparc32: Use PROM infrastructure for probing and mapping sun4d timers.

---
 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
index 8906e98..860a05e 100644
@@ -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