Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Staging: VME: move VME drivers out of staging

This moves the VME core, VME board drivers, and VME bridge drivers out
of the drivers/staging/vme/ area to drivers/vme/.

The VME device drivers have not moved out yet due to some API questions
they are still working through, that should happen soon, hopefully.

Cc: Martyn Welch <martyn.welch@ge.com>
Cc: Manohar Vanga <manohar.vanga@cern.ch>
Cc: Vincent Bossier <vincent.bossier@gmail.com>
Cc: "Emilio G. Cota" <cota@braap.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>

+22 -25
+2
drivers/Kconfig
··· 142 142 143 143 source "drivers/iio/Kconfig" 144 144 145 + source "drivers/vme/Kconfig" 146 + 145 147 endmenu
+1
drivers/Makefile
··· 135 135 136 136 obj-$(CONFIG_PM_DEVFREQ) += devfreq/ 137 137 obj-$(CONFIG_IIO) += iio/ 138 + obj-$(CONFIG_VME_BUS) += vme/
-2
drivers/staging/Kconfig
··· 72 72 73 73 source "drivers/staging/vt6656/Kconfig" 74 74 75 - source "drivers/staging/vme/Kconfig" 76 - 77 75 source "drivers/staging/sep/Kconfig" 78 76 79 77 source "drivers/staging/iio/Kconfig"
+3 -3
drivers/staging/vme/Kconfig drivers/vme/Kconfig
··· 10 10 11 11 if VME_BUS 12 12 13 - source "drivers/staging/vme/bridges/Kconfig" 13 + source "drivers/vme/bridges/Kconfig" 14 + 15 + source "drivers/vme/boards/Kconfig" 14 16 15 17 source "drivers/staging/vme/devices/Kconfig" 16 - 17 - source "drivers/staging/vme/boards/Kconfig" 18 18 19 19 endif # VME
-7
drivers/staging/vme/Makefile
··· 1 - # 2 - # Makefile for the VME bridge device drivers. 3 - # 4 - obj-$(CONFIG_VME_BUS) += vme.o 5 - 6 - obj-y += bridges/ 7 1 obj-y += devices/ 8 - obj-y += boards/
-5
drivers/staging/vme/TODO
··· 1 - TODO 2 - ==== 3 - 4 - - Add one or more device drivers which use the VME framework. 5 -
drivers/staging/vme/boards/Kconfig drivers/vme/boards/Kconfig
drivers/staging/vme/boards/Makefile drivers/vme/boards/Makefile
drivers/staging/vme/boards/vme_vmivme7805.c drivers/vme/boards/vme_vmivme7805.c
drivers/staging/vme/boards/vme_vmivme7805.h drivers/vme/boards/vme_vmivme7805.h
drivers/staging/vme/bridges/Kconfig drivers/vme/bridges/Kconfig
drivers/staging/vme/bridges/Makefile drivers/vme/bridges/Makefile
+1 -1
drivers/staging/vme/bridges/vme_ca91cx42.c drivers/vme/bridges/vme_ca91cx42.c
··· 29 29 #include <linux/time.h> 30 30 #include <linux/io.h> 31 31 #include <linux/uaccess.h> 32 + #include <linux/vme.h> 32 33 33 - #include "../vme.h" 34 34 #include "../vme_bridge.h" 35 35 #include "vme_ca91cx42.h" 36 36
drivers/staging/vme/bridges/vme_ca91cx42.h drivers/vme/bridges/vme_ca91cx42.h
+1 -1
drivers/staging/vme/bridges/vme_tsi148.c drivers/vme/bridges/vme_tsi148.c
··· 30 30 #include <linux/io.h> 31 31 #include <linux/uaccess.h> 32 32 #include <linux/byteorder/generic.h> 33 + #include <linux/vme.h> 33 34 34 - #include "../vme.h" 35 35 #include "../vme_bridge.h" 36 36 #include "vme_tsi148.h" 37 37
drivers/staging/vme/bridges/vme_tsi148.h drivers/vme/bridges/vme_tsi148.h
+2 -1
drivers/staging/vme/devices/Kconfig
··· 2 2 3 3 config VME_USER 4 4 tristate "VME user space access driver" 5 + depends on STAGING 5 6 help 6 7 If you say Y here you want to be able to access a limited number of 7 8 VME windows in a manner at least semi-compatible with the interface ··· 10 9 11 10 config VME_PIO2 12 11 tristate "GE PIO2 VME" 13 - depends on GPIOLIB 12 + depends on STAGING && GPIOLIB 14 13 help 15 14 Say Y here to include support for the GE PIO2. The PIO2 is a 6U VME 16 15 slave card, implementing 32 solid-state relay switched IO lines, in
+1 -1
drivers/staging/vme/devices/vme_pio2_cntr.c
··· 17 17 #include <linux/device.h> 18 18 #include <linux/types.h> 19 19 #include <linux/gpio.h> 20 + #include <linux/vme.h> 20 21 21 - #include "../vme.h" 22 22 #include "vme_pio2.h" 23 23 24 24 static int pio2_cntr_irq_set(struct pio2_card *card, int id)
+1 -1
drivers/staging/vme/devices/vme_pio2_core.c
··· 19 19 #include <linux/ctype.h> 20 20 #include <linux/gpio.h> 21 21 #include <linux/slab.h> 22 + #include <linux/vme.h> 22 23 23 - #include "../vme.h" 24 24 #include "vme_pio2.h" 25 25 26 26
+1 -1
drivers/staging/vme/devices/vme_pio2_gpio.c
··· 20 20 #include <linux/ctype.h> 21 21 #include <linux/gpio.h> 22 22 #include <linux/slab.h> 23 + #include <linux/vme.h> 23 24 24 - #include "../vme.h" 25 25 #include "vme_pio2.h" 26 26 27 27 static const char driver_name[] = "pio2_gpio";
+1 -1
drivers/staging/vme/devices/vme_user.c
··· 36 36 37 37 #include <linux/io.h> 38 38 #include <linux/uaccess.h> 39 + #include <linux/vme.h> 39 40 40 - #include "../vme.h" 41 41 #include "vme_user.h" 42 42 43 43 static DEFINE_MUTEX(vme_user_mutex);
+1 -1
drivers/staging/vme/vme.c drivers/vme/vme.c
··· 30 30 #include <linux/mutex.h> 31 31 #include <linux/spinlock.h> 32 32 #include <linux/slab.h> 33 + #include <linux/vme.h> 33 34 34 - #include "vme.h" 35 35 #include "vme_bridge.h" 36 36 37 37 /* Bitmask and list of registered buses both protected by common mutex */
drivers/staging/vme/vme.h include/linux/vme.h
drivers/staging/vme/vme_api.txt drivers/vme/vme_api.txt
drivers/staging/vme/vme_bridge.h drivers/vme/vme_bridge.h
+7
drivers/vme/Makefile
··· 1 + # 2 + # Makefile for the VME bridge device drivers. 3 + # 4 + obj-$(CONFIG_VME_BUS) += vme.o 5 + 6 + obj-y += bridges/ 7 + obj-y += boards/