GNU Linux-libre 5.10.215-gnu1
[releases.git] / drivers / vme / boards / vme_vmivme7805.h
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /*
3  * vmivme_7805.h
4  *
5  * Support for the VMIVME-7805 board access to the Universe II bridge.
6  *
7  * Author: Arthur Benilov <arthur.benilov@iba-group.com>
8  * Copyright 2010 Ion Beam Application, Inc.
9  */
10
11
12 #ifndef _VMIVME_7805_H
13 #define _VMIVME_7805_H
14
15 #ifndef PCI_VENDOR_ID_VMIC
16 #define PCI_VENDOR_ID_VMIC              0x114A
17 #endif
18
19 #ifndef PCI_DEVICE_ID_VTIMR
20 #define PCI_DEVICE_ID_VTIMR             0x0004
21 #endif
22
23 #define VME_CONTROL                     0x0000
24 #define BM_VME_CONTROL_MASTER_ENDIAN    0x0001
25 #define BM_VME_CONTROL_SLAVE_ENDIAN     0x0002
26 #define BM_VME_CONTROL_ABLE             0x0004
27 #define BM_VME_CONTROL_BERRI            0x0040
28 #define BM_VME_CONTROL_BERRST           0x0080
29 #define BM_VME_CONTROL_BPENA            0x0400
30 #define BM_VME_CONTROL_VBENA            0x0800
31
32 #endif /* _VMIVME_7805_H */
33