Belle II Software development
cprfin_fngeneric.h
1/**************************************************************************
2 * basf2 (Belle II Analysis Software Framework) *
3 * Author: The Belle II Collaboration *
4 * *
5 * See git log for contributors and copyright holders. *
6 * This file is licensed under LGPL-3.0, see LICENSE.md. *
7 **************************************************************************/
8/* cprfin_fngeneric.h */
9
10
11#ifndef CPRFIN_FNGENERIC_H
12#define CPRFIN_FNGENERIC_H
13
14
15#ifdef __KERNEL__
16
17
18#define DRIVER_NAME "cprfin_fngeneric"
19#define DRIVER_VERSION_NUMBER 2009042003
20
21MODULE_AUTHOR("T.Higuchi IPNS,KEK");
22MODULE_DESCRIPTION("cprfin_fngeneric for kernel 2.4.30-20050518a");
23MODULE_LICENSE("GPL");
24
25#endif /* __KERNEL__ */
26
27
28
29/********************************************************************************/
30/*** FNGENERIC ioctl ***/
31/********************************************************************************/
32
33#include <linux/ioctl.h>
34
35#define CPRFIN_FNGENERIC_MAGIC 0xe3
36
37#define FNGENERICIO_GET(addr) _IOR(CPRFIN_FNGENERIC_MAGIC, addr, sizeof(unsigned int))
38#define FNGENERICIO_SET(addr) _IOW(CPRFIN_FNGENERIC_MAGIC, addr, sizeof(unsigned int))
39
40
41#endif /* CPRFIN_FNGENERIC_H */
42