Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(157)

Unified Diff: chromeos/drivers/ath6kl/os/linux/include/config_linux.h

Issue 3579004: ath6kl: Bringing in the upstream version (Closed) Base URL: http://git.chromium.org/git/kernel.git
Patch Set: Created 10 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chromeos/drivers/ath6kl/os/linux/include/config_linux.h
diff --git a/chromeos/drivers/ath6kl/os/linux/include/config_linux.h b/chromeos/drivers/ath6kl/os/linux/include/config_linux.h
index 78b95bf7faa47a420142804c0428a48f9f66f20e..50f53d361049eefa5254af323e4448eec7d327fa 100644
--- a/chromeos/drivers/ath6kl/os/linux/include/config_linux.h
+++ b/chromeos/drivers/ath6kl/os/linux/include/config_linux.h
@@ -1,20 +1,25 @@
-/*
- * Copyright (c) 2004-2007 Atheros Communications Inc.
- * All rights reserved.
- *
- *
-// This program is free software; you can redistribute it and/or modify
-// it under the terms of the GNU General Public License version 2 as
-// published by the Free Software Foundation;
+//------------------------------------------------------------------------------
+// Copyright (c) 2004-2010 Atheros Communications Inc.
+// All rights reserved.
//
-// Software distributed under the License is distributed on an "AS
-// IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
-// implied. See the License for the specific language governing
-// rights and limitations under the License.
+//
//
+// Permission to use, copy, modify, and/or distribute this software for any
+// purpose with or without fee is hereby granted, provided that the above
+// copyright notice and this permission notice appear in all copies.
//
- *
- */
+// THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
+// WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
+// MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
+// ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
+// WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
+// ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
+// OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
+//
+//
+//
+// Author(s): ="Atheros"
+//------------------------------------------------------------------------------
#ifndef _CONFIG_LINUX_H_
#define _CONFIG_LINUX_H_
@@ -43,9 +48,10 @@ extern "C" {
#undef CONFIG_TARGET_PROFILE_SUPPORT
/* IP/TCP checksum offload */
-#if LINUX_VERSION_CODE >= KERNEL_VERSION(2,6,25)
+/* Checksum offload is currently not supported for 64 bit platforms */
+#ifndef __LP64__
#define CONFIG_CHECKSUM_OFFLOAD
-#endif
+#endif /* __LP64__ */
#ifdef __cplusplus
}
« no previous file with comments | « chromeos/drivers/ath6kl/os/linux/include/cfg80211.h ('k') | chromeos/drivers/ath6kl/os/linux/include/debug_linux.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698