Skip to contentSkip to conversation

Upstream revion 4 for RAR Register; include changes due to debugging July 7, 2009

PATCH In review Mark Allyn 2 participants 2 messages Aug 7, 2009 – Aug 12, 2009 Staging

lore
Share & tools
lore

Mark Allyn

author
#0 lore raw

PATCH 1/1 Upstream revion 4 for RAR Register; include changes due to debugging July 7, 2009

For the upstream community, this is revision 3. Changes are the relocation of this driver to the staging area and add TODO file

This is the Linux driver for the restricted access memory region control registers. The restricted access memory regions are regions of memory on the MID platform that are configured so that they cannot be accessed by processes running on the main x86 system processor. They can only be accessed by dedicated system peripherals.

Date: August 7, 2009

---
 drivers/staging/Kconfig                     |    2 +
 drivers/staging/Makefile                    |    1 +
 drivers/staging/rar_register/Kconfig        |   15 +
 drivers/staging/rar_register/Makefile       |    3 +
 drivers/staging/rar_register/rar_register.c |  551 +++++++++++++++++++++++++++
 include/linux/rar/rar_register.h            |   68 ++++
 6 files changed, 640 insertions(+), 0 deletions(-)
 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
 create mode 100644 include/linux/rar/rar_register.h
drivers/staging/Kconfig +2 -0
index 348bf61..5294008 100644
@@ -129,5 +129,7 @@ source "drivers/staging/pata_rdc/Kconfig"
 
 source "drivers/staging/udlfb/Kconfig"
 
+source "drivers/staging/rar_register/Kconfig"
+
 endif # !STAGING_EXCLUDE_BUILD
 endif # STAGING
drivers/staging/Makefile +1 -0
index 8d61d7b..929dbf7 100644
@@ -46,3 +46,4 @@ obj-$(CONFIG_VT6655)		+= vt6655/
 obj-$(CONFIG_USB_CPC)		+= cpc-usb/
 obj-$(CONFIG_RDC_17F3101X)	+= pata_rdc/
 obj-$(CONFIG_FB_UDL)		+= udlfb/
+obj-$(CONFIG_RAR_REGISTER)	+= rar_register/
drivers/staging/rar_register/Kconfig new file +15 -0
new file mode 100644
index 0000000..e951162
@@ -0,0 +1,15 @@
+#
+# Serial device configuration
+#
+
+menu "RAR Register Driver"
+
+config RAR_REGISTER
+	tristate "Intel Restricted Access Region Register Driver"
+	depends on MRST
+	default y
+	---help---
+		This driver allows other kernel drivers access to the
+		contents of the restricted access region registers. 
+
+endmenu
drivers/staging/rar_register/Makefile new file +3 -0
new file mode 100644
index 0000000..63ba70e
@@ -0,0 +1,3 @@
+EXTRA_CFLAGS += -DLITTLE__ENDIAN 
+obj-$(CONFIG_RAR_REGISTER) += rar_register.o
+rar_register_driver-objs := rar_register.o
drivers/staging/rar_register/rar_register.c new file +551 -0

551 lines not on this page · raw message

include/linux/rar/rar_register.h new file +68 -0

68 lines not on this page · raw message

Signature · 1 line
1.6.0.6
#1 lore raw
Quoted 2 lines · Mark Allyn

For the upstream community, this is revision 3. Changes are the relocation of this driver to the staging area and add TODO file

Then why did you label this "revision 4"?

Is this different from what is currently in linux-next? If so, can you send a patch to bring what we have in linux-next up to this version?

thanks,

greg k-h