ICH Force HPET: Late initialization of hpet after quirk
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.
Signed-off-by Venkatesh Pallipadi <[email protected]>
--- 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
@@ -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