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