Skip to contentSkip to conversation

ICH Force HPET: Late initialization of hpet after quirk

PATCH In review Venki Pallipadi 1 participant 1 message Jun 22, 2007

lore
Share & tools
lore
#0 lore raw

PATCH 4/7 ICH Force HPET: Late initialization of hpet after quirk

Enable HPET later during boot, after the force detect in PCI quirks. Also add a call to repeat the force enabling at resume time.

---
 arch/i386/kernel/hpet.c |   50 +++++++++++++++++++++++++++++++++++++++++++-----
 include/asm-i386/hpet.h |    1 
 2 files changed, 46 insertions(+), 5 deletions(-)
include/asm-i386/hpet.h +1 -0
Index: linux-2.6.22-rc5/include/asm-i386/hpet.h
===================================================================
@@ -64,6 +64,7 @@
 
 /* hpet memory map physical address */
 extern unsigned long hpet_address;
+extern unsigned long force_hpet_address;
 extern int is_hpet_enabled(void);
 extern int hpet_enable(void);
 
arch/i386/kernel/hpet.c +45 -5

101 lines not on this page · raw message