OLD | NEW |
(Empty) | |
| 1 /* |
| 2 * Copyright (c) 2004-2007 Atheros Communications Inc. |
| 3 * All rights reserved. |
| 4 * |
| 5 * |
| 6 // This program is free software; you can redistribute it and/or modify |
| 7 // it under the terms of the GNU General Public License version 2 as |
| 8 // published by the Free Software Foundation; |
| 9 // |
| 10 // Software distributed under the License is distributed on an "AS |
| 11 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or |
| 12 // implied. See the License for the specific language governing |
| 13 // rights and limitations under the License. |
| 14 // |
| 15 // |
| 16 * |
| 17 */ |
| 18 |
| 19 #ifndef _CONFIG_LINUX_H_ |
| 20 #define _CONFIG_LINUX_H_ |
| 21 |
| 22 #ifdef __cplusplus |
| 23 extern "C" { |
| 24 #endif |
| 25 |
| 26 #include <linux/version.h> |
| 27 |
| 28 /* |
| 29 * Host-side GPIO support is optional. |
| 30 * If run-time access to GPIO pins is not required, then |
| 31 * this should be changed to #undef. |
| 32 */ |
| 33 #define CONFIG_HOST_GPIO_SUPPORT |
| 34 |
| 35 /* |
| 36 * Host side Test Command support |
| 37 */ |
| 38 #define CONFIG_HOST_TCMD_SUPPORT |
| 39 |
| 40 #define USE_4BYTE_REGISTER_ACCESS |
| 41 |
| 42 /* Host-side support for Target-side profiling */ |
| 43 #undef CONFIG_TARGET_PROFILE_SUPPORT |
| 44 |
| 45 /* IP/TCP checksum offload */ |
| 46 #if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25) |
| 47 #define CONFIG_CHECKSUM_OFFLOAD |
| 48 #endif |
| 49 |
| 50 #ifdef __cplusplus |
| 51 } |
| 52 #endif |
| 53 |
| 54 #endif |
OLD | NEW |