Skip to contentSkip to conversation

Add memory mapped RTC driver for UV

PATCH New Dimitri Sivanich 1 participant 1 message Sep 11, 2009 Char and misc drivers

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add memory mapped RTC driver for UV

This driver memory maps the UV Hub RTC.

---

 drivers/char/Kconfig      |    8 +
 drivers/char/Makefile     |    1 
 drivers/char/uv_mmtimer.c |  214 ++++++++++++++++++++++++++++++++++++++++++
 3 files changed, 223 insertions(+)
drivers/char/Kconfig +8 -0
Index: linux/drivers/char/Kconfig
===================================================================
@@ -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
Index: linux/drivers/char/Makefile
===================================================================
@@ -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