4 * @brief Skel definitions for driver working area
6 * Copyright (c) 2009 CERN
7 * @author Emilio G. Cota <cota@braap.org>
9 * @section license_sec License
10 * Released under the GPL v2. (and only v2, not any later version)
12 #ifndef _CVORG_SKEL_USER_H_
13 #define _CVORG_SKEL_USER_H_
15 #define SkelDrvrCLIENT_CONTEXTS 16
16 #define SkelDrvrMODULE_CONTEXTS 8
19 * How much space to reserve in the module context to keep copies of
20 * registers. These are useful in emulation and to restore settings
21 * after a hardware reset.
23 #define SkelDrvrREGISTERS 256
26 * How many interrupt sources you want and the size of
27 * the queue you need to store them for each client.
29 #define SkelDrvrINTERRUPTS 2
30 #define SkelDrvrQUEUE_SIZE 8
31 #define SkelDrvrCONNECTIONS 16
33 /* Default timeout values, in 10ms ticks */
34 #define SkelDrvrDEFAULT_CLIENT_TIMEOUT 2000
35 #define SkelDrvrDEFAULT_MODULE_TIMEOUT 10
37 #endif /* _CVORG_SKEL_USER_H_ */