Skip to contentSkip to conversation

Restricted access regions register driver revision 2 (moving to staging)

PATCH In review Mark Allyn 3 participants 4 messages Aug 6, 2009 Staging

lore
Share & tools
lore

Mark Allyn

author
#0 lore raw

PATCH 1/1 Restricted access regions register driver revision 2 (moving to staging)

Upstream revision 3 of the restricted access memory registry kernel driver;

Moving to staging per Alan Cox's suggestion

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 6, 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 |  547 +++++++++++++++++++++++++++
 5 files changed, 568 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/TODO
 create mode 100644 drivers/staging/rar_register/rar_register.c
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/TODO new file +0 -0
new file mode 100644
index 0000000..e69de29
drivers/staging/rar_register/rar_register.c new file +547 -0

547 lines not on this page · raw message

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

Upstream revision 3 of the restricted access memory registry kernel driver;

Moving to staging per Alan Cox's suggestion

Heh, Alan just sent me this already in his series of 13 patches. Do you have any objection to that version, it looks to be the same as this one.

thanks,

greg k-h

#2 lore raw
Quoted 8 lines · On Thu, 6 Aug 2009 15:48:48 -0700 Greg KH <[email protected]> wrote:
Quoted 4 lines · Mark Allyn

Upstream revision 3 of the restricted access memory registry kernel driver;

Moving to staging per Alan Cox's suggestion

Heh, Alan just sent me this already in his series of 13 patches. Do you have any objection to that version, it looks to be the same as this one.

Got some more for you as well shortly. Seem to be up to 22 ;)

#3 lore raw
Quoted 7 lines · Alan Cox
Quoted 4 lines · On Thu, 6 Aug 2009 15:48:48 -0700 Greg KH <[email protected]> wrote:
Quoted 3 lines · Mark Allyn

Upstream revision 3 of the restricted access memory registry kernel driver;

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

Moving to staging per Alan Cox's suggestion

Heh, Alan just sent me this already in his series of 13 patches. Do you have any objection to that version, it looks to be the same as this one.

Got some more for you as well shortly. Seem to be up to 22 ;)

Heh, that's common for staging drivers, there's lots of work to do there ;)

thanks,

greg k-h