Skip to contentSkip to conversation

Add HPET RTC emulation to RTC_DRV_CMOS

PATCH In review Bernhard Walle 1 participant 2 messages Dec 20, 2007

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add HPET RTC emulation to RTC_DRV_CMOS

That patch adds the RTC emulation of the HPET timer to the new RTC_DRV_CMOS. The old drivers/char/rtc.ko driver had that functionality and it's important on new systems.

---
 arch/x86/Kconfig       |    2 -
 drivers/rtc/rtc-cmos.c |   79 ++++++++++++++++++++++++++++++++++++++++---------
 2 files changed, 67 insertions(+), 14 deletions(-)
arch/x86/Kconfig +1 -1
@@ -405,7 +405,7 @@ config HPET_TIMER
 
 config HPET_EMULATE_RTC
 	def_bool y
-	depends on HPET_TIMER && (RTC=y || RTC=m)
+	depends on HPET_TIMER && (RTC=y || RTC=m || RTC_DRV_CMOS=m || RTC_DRV_CMOS=y)
 
 # Mark as embedded because too many people got it wrong.
 # The code disables itself when not needed.
drivers/rtc/rtc-cmos.c +66 -13

162 lines not on this page · raw message

#1 lore raw

* Bernhard Walle <[email protected]> [2007-12-20 16:24]:
...

This was an accident. The patch belongs to a patch series that I'll post later. Please ignore!

Thanks,
Bernhard