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

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

Issue 646055: Atheros AR600x driver + build glue (Closed)
Patch Set: Created 10 years, 10 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
OLDNEW
(Empty)
1 //------------------------------------------------------------------------------
2 // <copyright file="AR6K_version.h" company="Atheros">
3 // Copyright (c) 2004-2007 Atheros Corporation. All rights reserved.
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 //
9 // Software distributed under the License is distributed on an "AS
10 // IS" basis, WITHOUT WARRANTY OF ANY KIND, either express or
11 // implied. See the License for the specific language governing
12 // rights and limitations under the License.
13 //
14 //
15 //------------------------------------------------------------------------------
16 //==============================================================================
17 // Author(s): ="Atheros"
18 //==============================================================================
19
20 #define __VER_MAJOR_ 3
21 #define __VER_MINOR_ 0
22 #define __VER_PATCH_ 0
23
24 /* The makear6ksdk script (used for release builds) modifies the following line. */
25 #define __BUILD_NUMBER_ 34
26
27
28 /* Format of the version number. */
29 #define VER_MAJOR_BIT_OFFSET 28
30 #define VER_MINOR_BIT_OFFSET 24
31 #define VER_PATCH_BIT_OFFSET 16
32 #define VER_BUILD_NUM_BIT_OFFSET 0
33
34
35 /*
36 * The version has the following format:
37 * Bits 28-31: Major version
38 * Bits 24-27: Minor version
39 * Bits 16-23: Patch version
40 * Bits 0-15: Build number (automatically generated during build process )
41 * E.g. Build 1.1.3.7 would be represented as 0x11030007.
42 *
43 * DO NOT split the following macro into multiple lines as this may confuse the build scripts.
44 */
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 ) )
46
47
OLDNEW
« no previous file with comments | « chromeos/drivers/ath6kl/include/AR6002/AR6002_regdump.h ('k') | chromeos/drivers/ath6kl/include/AR6002/addrs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698