vme_vmivme7805.h 773 B

123456789101112131415161718192021222324252627282930313233
  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. #ifndef _VMIVME_7805_H
  11. #define _VMIVME_7805_H
  12. #ifndef PCI_VENDOR_ID_VMIC
  13. #define PCI_VENDOR_ID_VMIC 0x114A
  14. #endif
  15. #ifndef PCI_DEVICE_ID_VTIMR
  16. #define PCI_DEVICE_ID_VTIMR 0x0004
  17. #endif
  18. #define VME_CONTROL 0x0000
  19. #define BM_VME_CONTROL_MASTER_ENDIAN 0x0001
  20. #define BM_VME_CONTROL_SLAVE_ENDIAN 0x0002
  21. #define BM_VME_CONTROL_ABLE 0x0004
  22. #define BM_VME_CONTROL_BERRI 0x0040
  23. #define BM_VME_CONTROL_BERRST 0x0080
  24. #define BM_VME_CONTROL_BPENA 0x0400
  25. #define BM_VME_CONTROL_VBENA 0x0800
  26. #endif /* _VMIVME_7805_H */