added 2.6.29.6 aldebaran kernel
[nao-ulib.git] / kernel / 2.6.29.6-aldebaran-rt / drivers / staging / slicoss / slicbuild.h
blobae05e043d07e717c088ef00d2135a51fc63a6cca
1 /**************************************************************************
3 * Copyright (c) 2000-2002 Alacritech, Inc. All rights reserved.
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions
8 * are met:
10 * 1. Redistributions of source code must retain the above copyright
11 * notice, this list of conditions and the following disclaimer.
12 * 2. Redistributions in binary form must reproduce the above
13 * copyright notice, this list of conditions and the following
14 * disclaimer in the documentation and/or other materials provided
15 * with the distribution.
17 * THIS SOFTWARE IS PROVIDED BY ALACRITECH, INC. ``AS IS'' AND ANY
18 * EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
19 * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
20 * PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL ALACRITECH, INC. OR
21 * CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
22 * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
23 * LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF
24 * USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND
25 * ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
26 * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT
27 * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
28 * SUCH DAMAGE.
30 * The views and conclusions contained in the software and documentation
31 * are those of the authors and should not be interpreted as representing
32 * official policies, either expressed or implied, of Alacritech, Inc.
34 **************************************************************************/
37 * FILENAME: slicbuild.h
39 * The following contains the compiler directive switches used for
40 * different SLIC build options. They can all be set in the Makefile
41 * but the defaults are defined here.
43 #ifndef _SLIC_BUILD_H_
44 #define _SLIC_BUILD_H_
46 #ifndef SLIC_PRODUCTION_BUILD
47 #define SLIC_PRODUCTION_BUILD 1
48 #endif
49 #ifndef SLIC_FAILURE_RESET
50 #define SLIC_FAILURE_RESET 1
51 #endif
52 #define DBG 1
53 #ifndef SLIC_ASSERT_ENABLED
54 #define SLIC_ASSERT_ENABLED 1
55 #endif
56 #ifndef SLIC_MCAST_ENABLED
57 #define SLIC_MCAST_ENABLED 1
58 #endif
59 #ifndef SLIC_GET_STATS_ENABLED
60 #define SLIC_GET_STATS_ENABLED 1
61 #endif
62 #ifndef SLIC_GET_STATS_TIMER_ENABLED
63 #define SLIC_GET_STATS_TIMER_ENABLED 0
64 #endif
65 #ifndef SLIC_PING_TIMER_ENABLED
66 #define SLIC_PING_TIMER_ENABLED 1
67 #endif
68 #ifndef SLIC_IOCTL_SUPPORT_ENABLED
69 #define SLIC_IOCTL_SUPPORT_ENABLED 1
70 #endif
71 #ifndef ATK_DEBUG
72 #define ATK_DEBUG 1
73 #endif
74 #ifndef SLIC_POWER_MANAGEMENT_ENABLED
75 #define SLIC_POWER_MANAGEMENT_ENABLED 0
76 #endif
77 #ifndef SLIC_INTERRUPT_PROCESS_LIMIT
78 #define SLIC_INTERRUPT_PROCESS_LIMIT 1
79 #endif
80 #ifndef LINUX_FREES_ADAPTER_RESOURCES
81 #define LINUX_FREES_ADAPTER_RESOURCES 1
82 #endif
83 #ifndef SLIC_OFFLOAD_IP_CHECKSUM
84 #define SLIC_OFFLOAD_IP_CHECKSUM 1
85 #endif
86 #ifndef SLIC_POWER_MANAGEMENT_ENABLED
87 #define SLIC_POWER_MANAGEMENT_ENABLED 0
88 #endif
89 #ifndef STATS_TIMER_INTERVAL
90 #define STATS_TIMER_INTERVAL 2
91 #endif
92 #ifndef PING_TIMER_INTERVAL
93 #define PING_TIMER_INTERVAL 1
94 #endif
96 #endif /* _SLIC_BUILD_H_ */