vme_vmivme7805.h 986 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. /*
  2. * vmivme_7805.h
  3. *
  4. * Support for the VMIVME-7805 board access to the Universe II bridge.
  5. *
  6. * Author: Arthur Benilov <arthur.benilov@iba-group.com>
  7. * Copyright 2010 Ion Beam Application, Inc.
  8. *
  9. * This program is free software; you can redistribute it and/or modify it
  10. * under the terms of the GNU General Public License as published by the
  11. * Free Software Foundation; either version 2 of the License, or (at your
  12. * option) any later version.
  13. */
  14. #ifndef _VMIVME_7805_H
  15. #define _VMIVME_7805_H
  16. #ifndef PCI_VENDOR_ID_VMIC
  17. #define PCI_VENDOR_ID_VMIC 0x114A
  18. #endif
  19. #ifndef PCI_DEVICE_ID_VTIMR
  20. #define PCI_DEVICE_ID_VTIMR 0x0004
  21. #endif
  22. #define VME_CONTROL 0x0000
  23. #define BM_VME_CONTROL_MASTER_ENDIAN 0x0001
  24. #define BM_VME_CONTROL_SLAVE_ENDIAN 0x0002
  25. #define BM_VME_CONTROL_ABLE 0x0004
  26. #define BM_VME_CONTROL_BERRI 0x0040
  27. #define BM_VME_CONTROL_BERRST 0x0080
  28. #define BM_VME_CONTROL_BPENA 0x0400
  29. #define BM_VME_CONTROL_VBENA 0x0800
  30. #endif /* _VMIVME_7805_H */