summaryrefslogtreecommitdiffstats
path: root/drivers/staging/vme
Commit message (Collapse)AuthorAgeFilesLines
* Staging: vme: fix sched.h build breakageGreg Kroah-Hartman2009-10-142-0/+2
| | | | | | | commit d43c36dc removed sched.h from interrupt.h. This broke the vme drivers. This patch fixes them. Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: change to VME_BUSGreg Kroah-Hartman2009-09-152-3/+3
| | | | | | | | | | | | Turns out the m68k arch already has a CONFIG_VME, so use CONFIG_VME_BUS instead. Thanks to Geet Uytterhoeven for pointing this out. Cc: Geert Uytterhoeven <geert@linux-m68k.org> Cc: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: Separate the list of TODOs from the API documentationMartyn Welch2009-09-152-352/+434
| | | | | | | | | This patch moves the API documentation to it's own file and provides a proper list of TODOs. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: Update support for the Universe II VME driverMartyn Welch2009-09-153-1589/+1812
| | | | | | | | | | | | | This patch starts the reworking of the vme_ca91cx42.c for the VME core. The driver seems to have only supported the Universe II for a long time, I have no hardware to check to see if it would work on the Universe I. This patch is compile tested with minimal run-time testing. It enables basic support for slave and master windows and interrupts. The master windows have undergone basic run testing. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: add VME Location Monitor management mechanismMartyn Welch2009-09-155-78/+232
| | | | | | | | | Extend the image and DMA channel resource management methods to control the location monitor resource. The location monitor should be controlled as it can only be used at a single location at a time. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Use proper mutexes in the tsi-148 VME driverMartyn Welch2009-09-153-83/+71Star
| | | | | | | | | | The VME core and tsi-148 driver currently use semaphores as mutexes. Switch to proper mutex implementation. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Reviewed-by: Emilio G. Cota <cota@braap.org> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: Update VME vme_user moduleMartyn Welch2009-09-152-148/+212
| | | | | | | | | | | * Add ifdef wrapper to vme_user.h * Correct Initialisation routine * Add remove routine to correct probe routine * Remove old test routines Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: Add syncronize interrupts before removing callbackMartyn Welch2009-09-151-0/+5
| | | | | | | | | As identified by Jiri, there is no syncronisation before callback is removed. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: fix {master,slave}_get check bugEmilio G. Cota2009-09-151-2/+2
| | | | | | | | | It's checking the wrong functions; fix it. Signed-off-by: Emilio G. Cota <cota@braap.org> Acked-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: Extend VME core probing for special matchesMartyn Welch2009-09-152-3/+14
| | | | | | | | Add the ability to define all slots and current slot in the VME buses bind table. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: Correct tsi-148 VME interrupt free routineMartyn Welch2009-09-151-7/+8
| | | | | | | | | | | As identified by Jiri, the VME interrupt free routine removes the service routine before disabling the interrupt. Re-order operations to be performed in the reverse of the request routine. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Cc: Jiri Slaby <jirislaby@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: add TODO fileMartyn Welch2009-09-151-0/+388
| | | | | | | | This describes the current vme api, along with a list of things that needs to be fixed up. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: add Tundra TSI148 VME-PCI Bridge driverMartyn Welch2009-09-154-0/+4306
| | | | | | Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: add Universe I/II bridge driverMartyn Welch2009-09-156-2/+2225
| | | | | | | | | | Currently this code doesn't compile, so it is disabled. That should be fixed up... Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: vme: add VME userspace driverMartyn Welch2009-09-156-3/+830
| | | | | | | | Adds a VME userspace access driver Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
* Staging: VME Framework for the Linux KernelMartyn Welch2009-09-155-0/+1797
This framework aims to colelese, extend and improve the VME Linux drivers found at vmelinux.org, universe2.sourceforge.net and openfmi.net/frs/?group_id=144. The last 2 drivers appear to be forks of the original code found at vmelinux.org though have extended the codebase. Signed-off-by: Martyn Welch <martyn.welch@gefanuc.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>