linux/arch
Clemens Ladisch 5f819949ee [PATCH] hpet-RTC: fix timer config register accesses
Make sure that the RTC timer is in non-periodic mode; some stupid BIOS might
have initialized it to periodic mode.

Furthermore, don't set the SETVAL bit in the config register.  This wouldn't
have any effect unless the timer was in period mode (which it isn't), and then
the actual timer frequency would be half that of the desired one because
incrementing the comparator in the interrupt handler would be done after the
hardware has already incremented it itself.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Acked-by: Venkatesh Pallipadi <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
2005-10-30 17:37:29 -08:00
..
alpha [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
arm [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
arm26 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
cris [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
frv [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
h8300 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
i386 [PATCH] hpet-RTC: fix timer config register accesses 2005-10-30 17:37:29 -08:00
ia64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
m32r [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
m68k [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
m68knommu [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
mips [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
parisc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
ppc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
ppc64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
s390 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sh [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sh64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
sparc64 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
um [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
v850 [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00
x86_64 [PATCH] hpet-RTC: fix timer config register accesses 2005-10-30 17:37:29 -08:00
xtensa [PATCH] jiffies_64 cleanup 2005-10-30 17:37:25 -08:00