On Sun, 2005-07-17 at 04:13 +0200, Jesper Juhl wrote: > Where do we actually program the tick rate we want? > In arch/i386/kernel/timers/timer_pit.c: 166 void setup_pit_timer(void) 167 { 168 unsigned long flags; 169 170 spin_lock_irqsave(&i8253_lock, flags); 171 outb_p(0x34,PIT_MODE); /* binary, mode 2, LSB/MSB, ch 0 */ 172 udelay(10); 173 outb_p(LATCH & 0xff , PIT_CH0); /* LSB */ 174 udelay(10); 175 outb(LATCH >> 8 , PIT_CH0); /* MSB */ 176 spin_unlock_irqrestore(&i8253_lock, flags); 177 } 178 Lee - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
- References:
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: George Anzinger <george@mvista.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <rlrevell@joe-job.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Andrew Morton <akpm@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Chris Wedgwood <cw@f00f.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Jesper Juhl <jesper.juhl@gmail.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Lee Revell <rlrevell@joe-job.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Jesper Juhl <jesper.juhl@gmail.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Linus Torvalds <torvalds@osdl.org>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Jesper Juhl <jesper.juhl@gmail.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- From: Jesper Juhl <jesper.juhl@gmail.com>
- Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Prev by Date: Re: 2.6.12 vs. /sbin/cardmgr
- Next by Date: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Previous by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Next by thread: Re: [PATCH] i386: Selectable Frequency of the Timer Interrupt
- Index(es):
