[patch 13/13] GRU Driver V3 - driver/misc Makefile & Kconfig changes

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: steiner
Date: Thursday, July 3, 2008 - 2:34 pm

Driver/misc changes for the GRU driver


Signed-off-by: Jack Steiner <steiner@sgi.com>

---
 drivers/misc/Kconfig      |   23 +++++++++++++++++++++++
 drivers/misc/Makefile     |    1 +

---
 drivers/misc/Kconfig  |   23 +++++++++++++++++++++++
 drivers/misc/Makefile |    1 +
 2 files changed, 24 insertions(+)

Index: linux/drivers/misc/Kconfig
===================================================================
--- linux.orig/drivers/misc/Kconfig	2008-07-03 15:57:10.000000000 -0500
+++ linux/drivers/misc/Kconfig	2008-07-03 16:19:17.000000000 -0500
@@ -433,4 +433,27 @@ config SGI_XP
 	  this feature will allow for direct communication between SSIs
 	  based on a network adapter and DMA messaging.
 
+config SGI_GRU
+	tristate "SGI GRU driver"
+	depends on (X86_64 || IA64_SGI_UV || IA64_GENERIC) && SMP
+	default n
+	select MMU_NOTIFIER
+	---help---
+	The GRU is a hardware resource located in the system chipset. The GRU
+	contains memory that can be mmapped into the user address space. This memory is
+	used to communicate with the GRU to perform functions such as load/store,
+	scatter/gather, bcopy, AMOs, etc.  The GRU is directly accessed by user
+	instructions using user virtual addresses. GRU instructions (ex., bcopy) use
+	user virtual addresses for operands.
+
+	If you are not running on a SGI UV system, say N.
+
+config SGI_GRU_DEBUG
+	bool  "SGI GRU driver debug"
+	depends on SGI_GRU
+	default n
+	---help---
+	This option enables addition debugging code for the SGI GRU driver. If
+	you are unsure, say N.
+
 endif # MISC_DEVICES
Index: linux/drivers/misc/Makefile
===================================================================
--- linux.orig/drivers/misc/Makefile	2008-07-03 15:57:10.000000000 -0500
+++ linux/drivers/misc/Makefile	2008-07-03 16:19:17.000000000 -0500
@@ -27,3 +27,4 @@ obj-$(CONFIG_INTEL_MENLOW)	+= intel_menl
 obj-$(CONFIG_ENCLOSURE_SERVICES) += enclosure.o
 obj-$(CONFIG_KGDB_TESTS)	+= kgdbts.o
 obj-$(CONFIG_SGI_XP)		+= sgi-xp/
+obj-$(CONFIG_SGI_GRU)		+= sgi-gru/

-- 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[patch 13/13] GRU Driver V3 - driver/misc Makefile & Kcon ..., steiner, (Thu Jul 3, 2:34 pm)