1 //------------------------------------------------------------------------------
2 // Copyright (c) 2004-2010 Atheros Communications Inc.
3 // All rights reserved.
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.
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.
21 // Author(s): ="Atheros"
22 //------------------------------------------------------------------------------
24 #ifndef _CONFIG_LINUX_H_
25 #define _CONFIG_LINUX_H_
31 #include <linux/version.h>
34 * Host side Test Command support
36 #define CONFIG_HOST_TCMD_SUPPORT
38 #define USE_4BYTE_REGISTER_ACCESS
40 /* Host-side support for Target-side profiling */
41 #undef CONFIG_TARGET_PROFILE_SUPPORT
43 /* IP/TCP checksum offload */
44 /* Checksum offload is currently not supported for 64 bit platforms */
46 #define CONFIG_CHECKSUM_OFFLOAD