/alps/pcitool

To get this branch, use:
bzr branch http://suren.me/webbzr/alps/pcitool

« back to all changes in this revision

Viewing changes to protocols/software.h

  • Committer: Suren A. Chilingaryan
  • Date: 2015-10-19 13:58:46 UTC
  • Revision ID: csa@suren.me-20151019135846-nz3f6iobifx06xvq
Support computed (property-based) registers

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
 * @brief header file for implementation of the protocol with software registers allocated in the kernel space, for parameters sharing between concurrent pcitool instances
4
4
 */
5
5
 
6
 
#ifndef _PCILIB_SOFTWARE_H
7
 
#define _PCILIB_SOFTWARE_H
 
6
#ifndef _PCILIB_PROTOCOL_SOFTWARE_H
 
7
#define _PCILIB_PROTOCOL_SOFTWARE_H
8
8
 
9
9
#include "pcilib.h"
10
10
#include "version.h"
51
51
/**
52
52
 * software protocol addition to the protocol api.
53
53
 */
54
 
const pcilib_register_protocol_api_description_t pcilib_register_software_protocol_api =
 
54
const pcilib_register_protocol_api_description_t pcilib_software_protocol_api =
55
55
  { PCILIB_VERSION, pcilib_software_registers_open, pcilib_software_registers_close,pcilib_software_registers_read, pcilib_software_registers_write }; /**< we add there the protocol to the list of possible protocols*/
56
56
#endif /* _PCILIB_EXPORT_C */
57
57
 
58
 
#endif /* _PCILIB_SOFTWARE_H */
 
58
#endif /* _PCILIB_PROTOCOL_SOFTWARE_H */