Add memory mapped RTC driver for UV
PATCH 1/1 Add memory mapped RTC driver for UV
This driver memory maps the UV Hub RTC.
Signed-off-by Dimitri Sivanich <[email protected]>
---
drivers/char/Kconfig | 8 + drivers/char/Makefile | 1 drivers/char/uv_mmtimer.c | 214 ++++++++++++++++++++++++++++++++++++++++++ 3 files changed, 223 insertions(+)
drivers/char/Kconfig +8 -0
@@ -1087,6 +1087,14 @@ config MMTIMER The mmtimer device allows direct userspace access to the Altix system timer. +config UV_MMTIMER + tristate "UV_MMTIMER Memory mapped RTC for SGI UV" + depends on X86_UV + default m + help + The uv_mmtimer device allows direct userspace access to the + UV system timer. + source "drivers/char/tpm/Kconfig" config TELCLOCK
drivers/char/Makefile +1 -0
@@ -58,6 +58,7 @@ obj-$(CONFIG_RAW_DRIVER) += raw.o obj-$(CONFIG_SGI_SNSC) += snsc.o snsc_event.o obj-$(CONFIG_MSPEC) += mspec.o obj-$(CONFIG_MMTIMER) += mmtimer.o +obj-$(CONFIG_UV_MMTIMER) += uv_mmtimer.o obj-$(CONFIG_VIOTAPE) += viotape.o obj-$(CONFIG_HVCS) += hvcs.o obj-$(CONFIG_IBM_BSR) += bsr.o
drivers/char/uv_mmtimer.c new file +214 -0
214 lines not on this page · raw message