Skip to contentSkip to conversation

Rename rar directory to rar_register for clarity

PATCH New Mark Allyn 1 participant 1 message Jan 18, 2010 Staging

lore
Share & tools
lore

Mark Allyn

author
#0 lore raw

PATCH 1/1 Rename rar directory to rar_register for clarity

The purpose of this patch is the change the name of the directory for the rar_register driver. The name rar
was too ambiguous, it's being renamed to rar_register for clarity.

This is the fifth of seven patches for the rar_register driver for Sunday, January 17, 2009

This patch only changes the names. It does not make any changes in any code.

Any checkpatch errors on this code were from the original code. They will be addressed in future patches.

The rar stands for restricted access region. The restricted access region is an area of memory that can be locked from access by the x86 processor.

The purpose of the restricted access region is to safeguard confidential information from any unauthorized software running on the x86 processor.

The purpose of this driver is to enable other drivers to obtain the address ranges of the restricted regions as well as lock them.

This patch is referenced off the linux-next repository as pulled on Sunday, January 17, 2010

Date: January 17, 2010

---
 drivers/staging/Kconfig                     |    2 +-
 drivers/staging/Makefile                    |    2 +-
 drivers/staging/rar/Kconfig                 |   21 --
 drivers/staging/rar/Makefile                |    1 -
 drivers/staging/rar/rar_register.c          |  445 ---------------------------
 drivers/staging/rar_register/Kconfig        |   21 ++
 drivers/staging/rar_register/Makefile       |    1 +
 drivers/staging/rar_register/rar_register.c |  445 +++++++++++++++++++++++++++
 8 files changed, 469 insertions(+), 469 deletions(-)
 delete mode 100644 drivers/staging/rar/Kconfig
 delete mode 100644 drivers/staging/rar/Makefile
 delete mode 100644 drivers/staging/rar/rar_register.c
 create mode 100644 drivers/staging/rar_register/Kconfig
 create mode 100644 drivers/staging/rar_register/Makefile
 create mode 100644 drivers/staging/rar_register/rar_register.c
drivers/staging/Kconfig +1 -1
index 61ec152..5db72ca 100644
@@ -113,7 +113,7 @@ source "drivers/staging/hv/Kconfig"
 
 source "drivers/staging/vme/Kconfig"
 
-source "drivers/staging/rar/Kconfig"
+source "drivers/staging/rar_register/Kconfig"
 
 source "drivers/staging/sep/Kconfig"
 
drivers/staging/Makefile +1 -1
index dc40493..6415f38 100644
@@ -36,7 +36,7 @@ obj-$(CONFIG_VT6656)		+= vt6656/
 obj-$(CONFIG_FB_UDL)		+= udlfb/
 obj-$(CONFIG_HYPERV)		+= hv/
 obj-$(CONFIG_VME_BUS)		+= vme/
-obj-$(CONFIG_RAR_REGISTER)	+= rar/
+obj-$(CONFIG_RAR_REGISTER)	+= rar_register/
 obj-$(CONFIG_DX_SEP)		+= sep/
 obj-$(CONFIG_IIO)		+= iio/
 obj-$(CONFIG_RAMZSWAP)		+= ramzswap/
drivers/staging/rar/Kconfig deleted +0 -21
deleted file mode 100644
index e923178..0000000
@@ -1,21 +0,0 @@
-#
-# RAR device configuration
-#
-
-menu "RAR Register Driver"
-#
-#	Restricted Access Register Manager
-#
-config RAR_REGISTER
-	tristate "Restricted Access Region Register Driver"
-	---help---
-		This driver allows other kernel drivers access to the
-		contents of the restricted access region control
-		registers. The restricted access regions are areas
-		of memory on the Intel ultra mobile platform which the
-		x86 processor (and software running thereupon) cannot
-		access for reading or writing. It is used the protect
-		sensitive information from unauthorized programms running
-		on the x86 processor.
-
-endmenu
drivers/staging/rar/Makefile deleted +0 -1
deleted file mode 100644
index 7f1478b..0000000
@@ -1 +0,0 @@
-obj-$(CONFIG_RAR_REGISTER) += rar_register.o
drivers/staging/rar/rar_register.c deleted +0 -445

445 lines not on this page · raw message

drivers/staging/rar_register/Kconfig new file +21 -0
new file mode 100644
index 0000000..e923178
@@ -0,0 +1,21 @@
+#
+# RAR device configuration
+#
+
+menu "RAR Register Driver"
+#
+#	Restricted Access Register Manager
+#
+config RAR_REGISTER
+	tristate "Restricted Access Region Register Driver"
+	---help---
+		This driver allows other kernel drivers access to the
+		contents of the restricted access region control
+		registers. The restricted access regions are areas
+		of memory on the Intel ultra mobile platform which the
+		x86 processor (and software running thereupon) cannot
+		access for reading or writing. It is used the protect
+		sensitive information from unauthorized programms running
+		on the x86 processor.
+
+endmenu
drivers/staging/rar_register/Makefile new file +1 -0
new file mode 100644
index 0000000..7f1478b
@@ -0,0 +1 @@
+obj-$(CONFIG_RAR_REGISTER) += rar_register.o
drivers/staging/rar_register/rar_register.c new file +445 -0

445 lines not on this page · raw message

Signature · 1 line
1.6.0.6