18c2ecf20Sopenharmony_ci/* SPDX-License-Identifier: GPL-2.0-or-later */
28c2ecf20Sopenharmony_ci/*
38c2ecf20Sopenharmony_ci * vmivme_7805.h
48c2ecf20Sopenharmony_ci *
58c2ecf20Sopenharmony_ci * Support for the VMIVME-7805 board access to the Universe II bridge.
68c2ecf20Sopenharmony_ci *
78c2ecf20Sopenharmony_ci * Author: Arthur Benilov <arthur.benilov@iba-group.com>
88c2ecf20Sopenharmony_ci * Copyright 2010 Ion Beam Application, Inc.
98c2ecf20Sopenharmony_ci */
108c2ecf20Sopenharmony_ci
118c2ecf20Sopenharmony_ci
128c2ecf20Sopenharmony_ci#ifndef _VMIVME_7805_H
138c2ecf20Sopenharmony_ci#define _VMIVME_7805_H
148c2ecf20Sopenharmony_ci
158c2ecf20Sopenharmony_ci#ifndef PCI_VENDOR_ID_VMIC
168c2ecf20Sopenharmony_ci#define PCI_VENDOR_ID_VMIC		0x114A
178c2ecf20Sopenharmony_ci#endif
188c2ecf20Sopenharmony_ci
198c2ecf20Sopenharmony_ci#ifndef PCI_DEVICE_ID_VTIMR
208c2ecf20Sopenharmony_ci#define PCI_DEVICE_ID_VTIMR		0x0004
218c2ecf20Sopenharmony_ci#endif
228c2ecf20Sopenharmony_ci
238c2ecf20Sopenharmony_ci#define VME_CONTROL			0x0000
248c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_MASTER_ENDIAN	0x0001
258c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_SLAVE_ENDIAN	0x0002
268c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_ABLE		0x0004
278c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_BERRI		0x0040
288c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_BERRST		0x0080
298c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_BPENA		0x0400
308c2ecf20Sopenharmony_ci#define BM_VME_CONTROL_VBENA		0x0800
318c2ecf20Sopenharmony_ci
328c2ecf20Sopenharmony_ci#endif /* _VMIVME_7805_H */
338c2ecf20Sopenharmony_ci
34