linux-stable/drivers/vme/boards/vme_vmivme7805.h
Greg Kroah-Hartman db3b9e990e 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>
2012-04-26 12:34:58 -07:00

37 lines
986 B
C

/*
* vmivme_7805.h
*
* Support for the VMIVME-7805 board access to the Universe II bridge.
*
* Author: Arthur Benilov <arthur.benilov@iba-group.com>
* Copyright 2010 Ion Beam Application, Inc.
*
* This program is free software; you can redistribute it and/or modify it
* under the terms of the GNU General Public License as published by the
* Free Software Foundation; either version 2 of the License, or (at your
* option) any later version.
*/
#ifndef _VMIVME_7805_H
#define _VMIVME_7805_H
#ifndef PCI_VENDOR_ID_VMIC
#define PCI_VENDOR_ID_VMIC 0x114A
#endif
#ifndef PCI_DEVICE_ID_VTIMR
#define PCI_DEVICE_ID_VTIMR 0x0004
#endif
#define VME_CONTROL 0x0000
#define BM_VME_CONTROL_MASTER_ENDIAN 0x0001
#define BM_VME_CONTROL_SLAVE_ENDIAN 0x0002
#define BM_VME_CONTROL_ABLE 0x0004
#define BM_VME_CONTROL_BERRI 0x0040
#define BM_VME_CONTROL_BERRST 0x0080
#define BM_VME_CONTROL_BPENA 0x0400
#define BM_VME_CONTROL_VBENA 0x0800
#endif /* _VMIVME_7805_H */