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

From: steiner
Date: Thu Jul 03 2008 - 17:40:24 EST


Driver/misc changes for the GRU driver


Signed-off-by: Jack Steiner <steiner@xxxxxxx>

---
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/

--
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/