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

Side by Side Diff: chromeos/drivers/ath6kl/include/common/AR6002/AR6K_version.h

Issue 3579004: ath6kl: Bringing in the upstream version (Closed) Base URL: http://git.chromium.org/git/kernel.git
Patch Set: Created 10 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 //------------------------------------------------------------------------------ 1 //------------------------------------------------------------------------------
2 // <copyright file="AR6K_version.h" company="Atheros"> 2 // <copyright file="AR6K_version.h" company="Atheros">
3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved. 3 // Copyright (c) 2004-2010 Atheros Corporation. All rights reserved.
4 // 4 //
5 // This program is free software; you can redistribute it and/or modify
6 // it under the terms of the GNU General Public License version 2 as
7 // published by the Free Software Foundation;
8 // 5 //
9 // Software distributed under the License is distributed on an "AS 6 // Permission to use, copy, modify, and/or distribute this software for any
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or 7 // purpose with or without fee is hereby granted, provided that the above
11 // implied. See the License for the specific language governing 8 // copyright notice and this permission notice appear in all copies.
12 // rights and limitations under the License. 9 //
10 // THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
11 // WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
12 // MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 // ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
14 // WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
15 // ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
16 // OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
13 // 17 //
14 // 18 //
15 //------------------------------------------------------------------------------ 19 //------------------------------------------------------------------------------
16 //============================================================================== 20 //==============================================================================
17 // Author(s): ="Atheros" 21 // Author(s): ="Atheros"
18 //============================================================================== 22 //==============================================================================
19 23
20 #define __VER_MAJOR_ 3 24 #define __VER_MAJOR_ 3
21 #define __VER_MINOR_ 0 25 #define __VER_MINOR_ 0
22 #define __VER_PATCH_ 0 26 #define __VER_PATCH_ 0
23 27
24 /* The makear6ksdk script (used for release builds) modifies the following line. */ 28 /* The makear6ksdk script (used for release builds) modifies the following line. */
25 #define __BUILD_NUMBER_ 101 29 #define __BUILD_NUMBER_ 233
26 30
27 31
28 /* Format of the version number. */ 32 /* Format of the version number. */
29 #define VER_MAJOR_BIT_OFFSET 28 33 #define VER_MAJOR_BIT_OFFSET 28
30 #define VER_MINOR_BIT_OFFSET 24 34 #define VER_MINOR_BIT_OFFSET 24
31 #define VER_PATCH_BIT_OFFSET 16 35 #define VER_PATCH_BIT_OFFSET 16
32 #define VER_BUILD_NUM_BIT_OFFSET 0 36 #define VER_BUILD_NUM_BIT_OFFSET 0
33 37
34 38
35 /* 39 /*
36 * The version has the following format: 40 * The version has the following format:
37 * Bits 28-31: Major version 41 * Bits 28-31: Major version
38 * Bits 24-27: Minor version 42 * Bits 24-27: Minor version
39 * Bits 16-23: Patch version 43 * Bits 16-23: Patch version
40 * Bits 0-15: Build number (automatically generated during build process ) 44 * Bits 0-15: Build number (automatically generated during build process )
41 * E.g. Build 1.1.3.7 would be represented as 0x11030007. 45 * E.g. Build 1.1.3.7 would be represented as 0x11030007.
42 * 46 *
43 * DO NOT split the following macro into multiple lines as this may confuse the build scripts. 47 * DO NOT split the following macro into multiple lines as this may confuse the build scripts.
44 */ 48 */
45 #define AR6K_SW_VERSION ( ( __VER_MAJOR_ << VER_MAJOR_BIT_OFFSET ) + ( __VER _MINOR_ << VER_MINOR_BIT_OFFSET ) + ( __VER_PATCH_ << VER_PATCH_BIT_OFFSET ) + ( __BUILD_NUMBER_ << VER_BUILD_NUM_BIT_OFFSET ) ) 49 #define AR6K_SW_VERSION ( ( __VER_MAJOR_ << VER_MAJOR_BIT_OFFSET ) + ( __VER _MINOR_ << VER_MINOR_BIT_OFFSET ) + ( __VER_PATCH_ << VER_PATCH_BIT_OFFSET ) + ( __BUILD_NUMBER_ << VER_BUILD_NUM_BIT_OFFSET ) )
46 50
47 /* ABI Version. Reflects the version of binary interface exposed by AR6K target firmware. Needs to be incremented by 1 for any change in the firmware that requi res upgrade of the driver on the host side for the change to work correctly */ 51 /* ABI Version. Reflects the version of binary interface exposed by AR6K target firmware. Needs to be incremented by 1 for any change in the firmware that requi res upgrade of the driver on the host side for the change to work correctly */
48 #define AR6K_ABI_VERSION 1 52 #define AR6K_ABI_VERSION 1
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/common/AR6002/AR6002_regdump.h ('k') | chromeos/drivers/ath6kl/include/common/AR6002/addrs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698