Merge branch 'hwmon-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jdelv...
[pandora-kernel.git] / drivers / staging / ath6kl / os / linux / include / config_linux.h
1 //------------------------------------------------------------------------------
2 // Copyright (c) 2004-2010 Atheros Communications Inc.
3 // All rights reserved.
4 //
5 // 
6 //
7 // Permission to use, copy, modify, and/or distribute this software for any
8 // purpose with or without fee is hereby granted, provided that the above
9 // copyright notice and this permission notice appear in all copies.
10 //
11 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
12 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
13 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
14 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
15 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
16 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
17 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
18 //
19 //
20 //
21 // Author(s): ="Atheros"
22 //------------------------------------------------------------------------------
23
24 #ifndef _CONFIG_LINUX_H_
25 #define _CONFIG_LINUX_H_
26
27 #ifdef __cplusplus
28 extern "C" {
29 #endif
30
31 #include <linux/version.h>
32
33 /*
34  * Host-side GPIO support is optional.
35  * If run-time access to GPIO pins is not required, then
36  * this should be changed to #undef.
37  */
38 #define CONFIG_HOST_GPIO_SUPPORT
39
40 /*
41  * Host side Test Command support
42  */
43 #define CONFIG_HOST_TCMD_SUPPORT
44
45 #define USE_4BYTE_REGISTER_ACCESS
46
47 /* Host-side support for Target-side profiling */
48 #undef CONFIG_TARGET_PROFILE_SUPPORT
49
50 /* IP/TCP checksum offload */
51 /* Checksum offload is currently not supported for 64 bit platforms */
52 #ifndef __LP64__
53 #define CONFIG_CHECKSUM_OFFLOAD
54 #endif /* __LP64__ */
55
56 #ifdef __cplusplus
57 }
58 #endif
59
60 #endif