/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 driver/config.h

  • Committer: Suren A. Chilingaryan
  • Date: 2016-03-02 18:37:30 UTC
  • Revision ID: csa@suren.me-20160302183730-nlrgi7h3yuizcizc
Restructure driver headers

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
/*******************************/
2
 
/* Configuration of the driver */
3
 
/*******************************/
 
1
#ifndef _PCIDRIVER_CONFIG_H
 
2
#define _PCIDRIVER_CONFIG_H
4
3
 
5
4
/* Debug messages */
6
5
//#define DEBUG
8
7
/* Enable/disable IRQ handling */
9
8
#define ENABLE_IRQ
10
9
 
 
10
/* Maximum number of interrupt sources */
 
11
#define PCIDRIVER_INT_MAXSOURCES                16
 
12
 
 
13
/* Maximum number of devices*/
 
14
#define MAXDEVICES                              4
 
15
 
 
16
/* Minor number */
 
17
#define MINORNR                                 0
 
18
 
11
19
/* The name of the module */
12
 
#define MODNAME "pciDriver"
13
 
 
14
 
/* Major number is allocated dynamically */
15
 
/* Minor number */
16
 
#define MINORNR 0
 
20
#define MODNAME                                 "pciDriver"
17
21
 
18
22
/* Node name of the char device */
19
 
#define NODENAME "fpga"
20
 
#define NODENAMEFMT "fpga%d"
21
 
 
22
 
/* Maximum number of devices*/
23
 
#define MAXDEVICES 4
 
23
#define NODENAME                                "fpga"
 
24
#define NODENAMEFMT                             "fpga%d"
 
25
 
 
26
/* Identifies the PCI-E Xilinx ML605 */
 
27
#define PCIE_XILINX_VENDOR_ID                   0x10ee
 
28
#define PCIE_ML605_DEVICE_ID                    0x6024
 
29
 
 
30
/* Identifies the PCI-E IPE Hardware */
 
31
#define PCIE_IPECAMERA_DEVICE_ID                0x6081
 
32
#define PCIE_KAPTURE_DEVICE_ID                  0x6028
 
33
 
 
34
 
 
35
#endif /* _PCIDRIVER_CONFIG_H */